projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28f25b0
)
nvmx: fix unhandled nested XSETBV VMExit
author
Dongxiao Xu
<dongxiao.xu@intel.com>
Thu, 30 Aug 2012 16:58:23 +0000
(17:58 +0100)
committer
Dongxiao Xu
<dongxiao.xu@intel.com>
Thu, 30 Aug 2012 16:58:23 +0000
(17:58 +0100)
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 <dongxiao.xu@intel.com>
Committed-by: Keir Fraser <keir@xen.org>
xen/arch/x86/hvm/vmx/vvmx.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/vmx/vvmx.c
b/xen/arch/x86/hvm/vmx/vvmx.c
index 8a3fb8872bd0d23df8e305077163677e2ca093a1..d8900c979ffb6c4c80ecff5a253bab79834e79a2 100644
(file)
--- 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;