diff options
author | Hank Janssen | 2010-01-22 20:17:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-03-04 01:42:37 +0100 |
commit | a73e6b7c508f610eeb315c443d9ac79041124af0 (patch) | |
tree | bb964201a624af0339e2158d962f2e3590ee350f /drivers/staging/hv/Hv.h | |
parent | Staging: hv: remove unneeded OnClose callback (diff) | |
download | kernel-qcow2-linux-a73e6b7c508f610eeb315c443d9ac79041124af0.tar.gz kernel-qcow2-linux-a73e6b7c508f610eeb315c443d9ac79041124af0.tar.xz kernel-qcow2-linux-a73e6b7c508f610eeb315c443d9ac79041124af0.zip |
Staging: hv: Remove xen legacy code and check for Hyper-V
Removed legacy XEN layer from hypervisor setup, and made sure only
Hyper-V is Is a valid hypervisor to run on.
Signed-off-by: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/Hv.h')
-rw-r--r-- | drivers/staging/hv/Hv.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/staging/hv/Hv.h b/drivers/staging/hv/Hv.h index fce4b5cdac30..41f5ebb86e17 100644 --- a/drivers/staging/hv/Hv.h +++ b/drivers/staging/hv/Hv.h @@ -41,11 +41,6 @@ enum { #define HV_PRESENT_BIT 0x80000000 -#define HV_XENLINUX_GUEST_ID_LO 0x00000000 -#define HV_XENLINUX_GUEST_ID_HI 0x0B00B135 -#define HV_XENLINUX_GUEST_ID (((u64)HV_XENLINUX_GUEST_ID_HI << 32) \ - | HV_XENLINUX_GUEST_ID_LO) - #define HV_LINUX_GUEST_ID_LO 0x00000000 #define HV_LINUX_GUEST_ID_HI 0xB16B00B5 #define HV_LINUX_GUEST_ID (((u64)HV_LINUX_GUEST_ID_HI << 32) | \ @@ -102,8 +97,9 @@ struct hv_input_signal_event_buffer { }; struct hv_context { - /* XenLinux or native Linux. If XenLinux, the hypercall and synic pages - * has already been initialized */ + /* We only support running on top of Hyper-V + * So at this point this really can only contain the Hyper-V ID + */ u64 GuestId; void *HypercallPage; |