-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Marcelo Tosatti
committed
Nov 28, 2012
1 parent
886b470
commit e0b306f
Showing
2 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters