lkml.org 
[lkml]   [2017]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] KVM: nVMX: fixes to nested virt interrupt injection
Date
With these two patches, KVM does not blindly pass the exit interruption
info and exit qualification from the vmcs02 and vmcs12 when injecting
an exception. There were two spots where this was done, namely
nested_vmx_check_exception and vmx_inject_page_fault_nested.

Patch 1 avoids writing the vmcs02's VM_EXIT_INTR_ERROR_CODE field,
which as Jim noticed isn't possible on pre-Haswell machines, but
otherwise has no semantic effect.

Patch 2 is the actual bugfix.

Paolo Bonzini (2):
KVM: nVMX: do not fill vm_exit_intr_error_code in prepare_vmcs12
KVM: nVMX: fixes to nested virt interrupt injection

arch/x86/kvm/svm.c | 10 ++++
arch/x86/kvm/vmx.c | 133 +++++++++++++++++++++++++++++++++++++----------------
2 files changed, 103 insertions(+), 40 deletions(-)

--
1.8.3.1

\
 
 \ /
  Last update: 2017-07-28 09:03    [W:0.052 / U:1.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site