KVM: nVMX: Don't emulate instructions in guest mode
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/3 KVM: nVMX: Don't emulate instructions in guest mode
From: Paolo Bonzini <[email protected]>
vmx_check_intercept is not yet fully implemented. To avoid emulating instructions disallowed by the L1 hypervisor, refuse to emulate instructions by default.
[Made commit, added commit msg - Oliver]
Signed-off-by Oliver Upton <[email protected]>
Signed-off-by Paolo Bonzini <[email protected]>
(cherry picked from commit 07721feee46b4b248402133228235318199b05ec)
Signed-off-by Jon Maloy <[email protected]>
--- arch/x86/kvm/vmx/vmx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/vmx/vmx.c +1 -1
@@ -7199,7 +7199,7 @@ static int vmx_check_intercept(struct kvm_vcpu *vcpu, }/* TODO: check more intercepts... */ -return X86EMUL_CONTINUE ; +return X86EMUL_UNHANDLEABLE ; }#ifdef CONFIG_X86_64
Signature · 1 line
2.18.1