time: export time information for KVM pvclock
As suggested by John, export time data similarly to how its done by vsyscall support. This allows KVM to retrieve necessary information to implement vsyscall support in KVM guests. Acked-by: John Stultz <johnstul@us.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
9
include/linux/pvclock_gtod.h
Normal file
9
include/linux/pvclock_gtod.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef _PVCLOCK_GTOD_H
|
||||
#define _PVCLOCK_GTOD_H
|
||||
|
||||
#include <linux/notifier.h>
|
||||
|
||||
extern int pvclock_gtod_register_notifier(struct notifier_block *nb);
|
||||
extern int pvclock_gtod_unregister_notifier(struct notifier_block *nb);
|
||||
|
||||
#endif /* _PVCLOCK_GTOD_H */
|
||||
Reference in New Issue
Block a user