x86/cpuid: Handle leaf 0x6 in guest_cpuid()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 17 Feb 2017 18:03:58 +0000 (18:03 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 13 Mar 2017 13:44:39 +0000 (13:44 +0000)
commit72e038450d3d5de1a39f0cfa2d2b0f9b3d43c6c6
tree195f9815c1813a8a8f92bf983d31a151d4762a0e
parent706b2b73679cab37ff253af67e129353a46fdcc1
x86/cpuid: Handle leaf 0x6 in guest_cpuid()

The thermal/performance leaf was previously hidden from HVM guests, but fully
visible to PV guests.  Most of the leaf refers to MSR availability, and there
is nothing an unprivileged PV guest can do with the information, so hide the
leaf entirely.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpuid.c