Re: [Xen-devel] [PATCH 5/6] x86/cpuid: Don't offer HVM hypervisor leaves to PV guests

2017-01-17 Thread Andrew Cooper
On 16/01/17 17:02, Jan Beulich wrote: On 16.01.17 at 12:40, wrote: >> Xen leaf 4 is HVM-only. Report a lower max_leaf to PV guests, so they don't >> go and investigate a leaf which will return all zeros. >> >> Signed-off-by: Andrew Cooper > Well, if you think it's worth it (we'll have to ma

Re: [Xen-devel] [PATCH 5/6] x86/cpuid: Don't offer HVM hypervisor leaves to PV guests

2017-01-16 Thread Jan Beulich
>>> On 16.01.17 at 12:40, wrote: > Xen leaf 4 is HVM-only. Report a lower max_leaf to PV guests, so they don't > go and investigate a leaf which will return all zeros. > > Signed-off-by: Andrew Cooper Well, if you think it's worth it (we'll have to make this leaf visible again anyway as soon a

[Xen-devel] [PATCH 5/6] x86/cpuid: Don't offer HVM hypervisor leaves to PV guests

2017-01-16 Thread Andrew Cooper
Xen leaf 4 is HVM-only. Report a lower max_leaf to PV guests, so they don't go and investigate a leaf which will return all zeros. Signed-off-by: Andrew Cooper --- CC: Jan Beulich --- xen/arch/x86/traps.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/xen/arch/x