Re: [RFC PATCH v2 04/22] i386/kvm: handle Xen HVM cpuid leaves

2022-12-13 Thread David Woodhouse
On Mon, 2022-12-12 at 13:13 +, Paul Durrant wrote: > Ok, this tells me that we are intending to handle Hyper-V enlightenments > being simultaneously enabled... in which case that MSR above needs to > move, along with the cpuid leaves. It should be 0x4200 in this case. Ah, yes. That gets

Re: [RFC PATCH v2 04/22] i386/kvm: handle Xen HVM cpuid leaves

2022-12-12 Thread Paul Durrant
On 09/12/2022 09:55, David Woodhouse wrote: From: Joao Martins Introduce support for emulating CPUID for Xen HVM guests. It doesn't make sense to advertise the KVM leaves to a Xen guest, so do it unconditionally when the xen-version machine property is set. Signed-off-by: Joao Martins [dwmw2: