RE: [PATCH] x86: guest: rely on leaf 0x40000001 to detect Hyper-V

2015-10-02 Thread KY Srinivasan
william...@redhat.com > Subject: RE: [PATCH] x86: guest: rely on leaf 0x4001 to detect Hyper-V > > On Fri, 2 Oct 2015, KY Srinivasan wrote: > > > Change ms_hyperv_platform to actually do what the specification > suggests. > > > This roughy matches what Windo

RE: [PATCH] x86: guest: rely on leaf 0x40000001 to detect Hyper-V

2015-10-02 Thread Thomas Gleixner
On Fri, 2 Oct 2015, KY Srinivasan wrote: > > Change ms_hyperv_platform to actually do what the specification suggests. > > This roughy matches what Windows looks for, though Windows actually > > ignores HYPERV_CPUID_VENDOR_AND_MAX_FUNCTIONS completely. > > > > Signed-off-by: Paolo Bonzini > > Th

RE: [PATCH] x86: guest: rely on leaf 0x40000001 to detect Hyper-V

2015-10-02 Thread KY Srinivasan
t.org; > alex.william...@redhat.com > Subject: [PATCH] x86: guest: rely on leaf 0x4001 to detect Hyper-V > > The specification says that "Microsoft Hv" is actually a vendor ID field > that is only used for reporting and diagnostic purposes. The actual > field that you need

Re: [PATCH] x86: guest: rely on leaf 0x40000001 to detect Hyper-V

2015-10-02 Thread Vitaly Kuznetsov
Paolo Bonzini writes: > The specification says that "Microsoft Hv" is actually a vendor ID field > that is only used for reporting and diagnostic purposes. The actual > field that you need to check is the interface ID that you get in eax > when querying the HYPERV_CPUID_INTERFACE. > > Change ms_

[PATCH] x86: guest: rely on leaf 0x40000001 to detect Hyper-V

2015-10-02 Thread Paolo Bonzini
The specification says that "Microsoft Hv" is actually a vendor ID field that is only used for reporting and diagnostic purposes. The actual field that you need to check is the interface ID that you get in eax when querying the HYPERV_CPUID_INTERFACE. Change ms_hyperv_platform to actually do what