KVM guest: make kvm_para_available() check hypervisor bit reading cpuid leaf
authorGleb Natapov <gleb@redhat.com>
Mon, 30 Apr 2012 11:45:49 +0000 (14:45 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 6 May 2012 12:59:49 +0000 (15:59 +0300)
commit9b72d3b07dd99ac8ab2b84de5004a295af460536
tree1142d76d9688772df00f1ce78faaf0075493448f
parent57c22e5f35aa4b9b2fe11f73f3e62bbf9ef36190
KVM guest: make kvm_para_available() check hypervisor bit reading cpuid leaf

This cpuid range does not exist on real HW and Intel spec says that
"Information returned for highest basic information leaf" will be
returned. Not very well defined.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_para.h