[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231027204933.3651381-7-seanjc@google.com>
Date: Fri, 27 Oct 2023 13:49:30 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Sean Christopherson <seanjc@...gle.com>
Subject: [GIT PULL] KVM: x86: SVM changes for 6.7
An enhancement to help userspace deal with SEV-ES guest crashes, and cleanups
related to not being able to do "skip" emulation for SEV guests.
The following changes since commit 5804c19b80bf625c6a9925317f845e497434d6d3:
Merge tag 'kvm-riscv-fixes-6.6-1' of https://github.com/kvm-riscv/linux into HEAD (2023-09-23 05:35:55 -0400)
are available in the Git repository at:
https://github.com/kvm-x86/linux.git tags/kvm-x86-svm-6.7
for you to fetch changes up to 00682995409696866fe43984c74c8688bdf8f0a5:
KVM: SVM: Treat all "skip" emulation for SEV guests as outright failures (2023-10-04 15:08:53 -0700)
----------------------------------------------------------------
KVM SVM changes for 6.7:
- Report KVM_EXIT_SHUTDOWN instead of EINVAL if KVM intercepts SHUTDOWN while
running an SEV-ES guest.
- Clean up handling "failures" when KVM detects it can't emulate the "skip"
action for an instruction that has already been partially emulated. Drop a
hack in the SVM code that was fudging around the emulator code not giving
SVM enough information to do the right thing.
----------------------------------------------------------------
Peter Gonda (1):
KVM: SVM: Update SEV-ES shutdown intercepts with more metadata
Sean Christopherson (2):
KVM: x86: Refactor can_emulate_instruction() return to be more expressive
KVM: SVM: Treat all "skip" emulation for SEV guests as outright failures
arch/x86/include/asm/kvm-x86-ops.h | 2 +-
arch/x86/include/asm/kvm_host.h | 4 +--
arch/x86/kvm/svm/svm.c | 50 ++++++++++++++++----------------------
arch/x86/kvm/vmx/vmx.c | 12 ++++-----
arch/x86/kvm/x86.c | 22 +++++++++++------
5 files changed, 45 insertions(+), 45 deletions(-)
Powered by blists - more mailing lists