From 944076d517216ac723899ebb6e65148783305e4c Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Thu, 30 Aug 2012 17:58:23 +0100 Subject: [PATCH] nvmx: fix unhandled nested XSETBV VMExit If the L2 guest issue a XSETBV instruction, we need to deliver to L1 guest. This could fix the Fedora 17 booting hang issue as a L2 guest. Signed-off-by: Dongxiao Xu Committed-by: Keir Fraser --- xen/arch/x86/hvm/vmx/vvmx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/hvm/vmx/vvmx.c b/xen/arch/x86/hvm/vmx/vvmx.c index 8a3fb8872b..d8900c979f 100644 --- a/xen/arch/x86/hvm/vmx/vvmx.c +++ b/xen/arch/x86/hvm/vmx/vvmx.c @@ -1506,6 +1506,7 @@ int nvmx_n2_vmexit_handler(struct cpu_user_regs *regs, case EXIT_REASON_VMXOFF: case EXIT_REASON_VMXON: case EXIT_REASON_INVEPT: + case EXIT_REASON_XSETBV: /* inject to L1 */ nvcpu->nv_vmexit_pending = 1; break; -- 2.30.2