>From 17384716129668b6636237b410a3885aaf32efb3 Mon Sep 17 00:00:00 2001 From: Sean Christopherson Date: Thu, 21 Oct 2021 16:22:27 -0700 Subject: [PATCH 1/6] KVM: x86: Don't exit to userspace when SEV-ES INS is successful Signed-off-by: Sean Christopherson --- arch/x86/kvm/x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index c59b63c56af9..c245edfd974c 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -12509,7 +12509,7 @@ static int kvm_sev_es_ins(struct kvm_vcpu *vcpu, unsigned int size, vcpu->arch.complete_userspace_io = complete_sev_es_emulated_ins; } - return 0; + return ret; } int kvm_sev_es_string_io(struct kvm_vcpu *vcpu, unsigned int size, -- 2.33.0.1079.g6e70778dc9-goog