Re: [PATCH 0/2] x86, kvm: fix detection of KVM features when KVM and Hyper-V coexist

2014-01-28 Thread Marcelo Tosatti
On Mon, Jan 27, 2014 at 07:11:28PM +0100, Paolo Bonzini wrote: > When KVM also presents Hyper-V features (which is useful because Windows > behaves better), Linux guests prefer KVM because emulated leaves are at > 0x4000 and the native ones are at 0x4100. > > However, Linux is then not acc

[PATCH 0/2] x86, kvm: fix detection of KVM features when KVM and Hyper-V coexist

2014-01-27 Thread Paolo Bonzini
When KVM also presents Hyper-V features (which is useful because Windows behaves better), Linux guests prefer KVM because emulated leaves are at 0x4000 and the native ones are at 0x4100. However, Linux is then not accounting for the offset when reading the available hypervisor features fro