Discussion:
[Xen-changelog] [xen master] x86/vvmx: Let L1 handle all the unconditional vmexit instructions
p***@xen.org
2018-11-04 05:04:44 UTC
Permalink
commit 6faff8f9005d685185cd3f4ed116bf45d7d1553f
Author: Andrew Cooper <***@citrix.com>
AuthorDate: Thu Oct 25 14:08:33 2018 +0100
Commit: Andrew Cooper <***@citrix.com>
CommitDate: Tue Oct 30 13:26:21 2018 +0000

x86/vvmx: Let L1 handle all the unconditional vmexit instructions

Signed-off-by: Andrew Cooper <***@citrix.com>
Reviewed-by: Sergey Dyasli <***@citrix.com>
Acked-by: Kevin Tian <***@intel.com>
---
xen/arch/x86/hvm/vmx/vvmx.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/xen/arch/x86/hvm/vmx/vvmx.c b/xen/arch/x86/hvm/vmx/vvmx.c
index aa202e0d12..7051eb3509 100644
--- a/xen/arch/x86/hvm/vmx/vvmx.c
+++ b/xen/arch/x86/hvm/vmx/vvmx.c
@@ -2383,6 +2383,8 @@ int nvmx_n2_vmexit_handler(struct cpu_user_regs *regs,
case EXIT_REASON_TRIPLE_FAULT:
case EXIT_REASON_TASK_SWITCH:
case EXIT_REASON_CPUID:
+ case EXIT_REASON_GETSEC:
+ case EXIT_REASON_INVD:
case EXIT_REASON_VMCALL:
case EXIT_REASON_VMCLEAR:
case EXIT_REASON_VMLAUNCH:
@@ -2395,6 +2397,7 @@ int nvmx_n2_vmexit_handler(struct cpu_user_regs *regs,
case EXIT_REASON_VMXON:
case EXIT_REASON_INVEPT:
case EXIT_REASON_XSETBV:
+ case EXIT_REASON_INVVPID:
/* inject to L1 */
nvcpu->nv_vmexit_pending = 1;
break;
--
generated by git-patchbot for /home/xen/git/xen.git#master

Loading...