diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2013-02-04 02:22:38 +0100 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2013-02-13 01:27:03 +0100 |
commit | db34bbb767bdfa1ebed7214b876fe01c5b7ee457 (patch) | |
tree | 6cbccf53064b6c56b0a74b551a34e81238008568 /drivers/xen/events.c | |
parent | x86: Hyper-V: register clocksource only if its advertised (diff) | |
download | linux-db34bbb767bdfa1ebed7214b876fe01c5b7ee457.tar.xz linux-db34bbb767bdfa1ebed7214b876fe01c5b7ee457.zip |
X86: Add a check to catch Xen emulation of Hyper-V
Xen emulates Hyper-V to host enlightened Windows. Looks like this
emulation may be turned on by default even for Linux guests. Check and
fail Hyper-V detection if we are on Xen.
[ hpa: the problem here is that Xen doesn't emulate Hyper-V well
enough, and if the Xen support isn't compiled in, we end up stubling
over the Hyper-V emulation and try to activate it -- and it fails. ]
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Link: http://lkml.kernel.org/r/1359940959-32168-2-git-send-email-kys@microsoft.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'drivers/xen/events.c')
0 files changed, 0 insertions, 0 deletions