This primarily fixes traps of the root cell after enabling Jailhouse on systems with xsave support but without Linux actually using it. Besides that, it also removes unneeded xsetbv-handling code from SVM.
Jan Jan Kiszka (5): x86: Remove VMEXIT_XSETBV handling from svm x86: Make vcpu_handle_xsetbv vmx-private x86: Introduce vcpu_vendor_get_guest_cr4 x86: Only execute xsetbv if actually enabled in the guest x86: Fix cpuid.01h results regarding OSXSAVE hypervisor/arch/x86/include/asm/processor.h | 1 + hypervisor/arch/x86/include/asm/vcpu.h | 4 ++-- hypervisor/arch/x86/svm.c | 9 ++++---- hypervisor/arch/x86/vcpu.c | 32 ++++++++--------------------- hypervisor/arch/x86/vmx.c | 31 +++++++++++++++++++++++++++- 5 files changed, 46 insertions(+), 31 deletions(-) -- 2.1.4 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
