Clearing EFER.SVME is not architected to set GIF, so GIF may be clear
even when EFER.SVME is clear.
This is covered in the discussion at
https://lore.kernel.org/all/5b8787b8-16e9-13dc-7fca-0dc441d673f9@citrix.com/.
v2:
- Allow KVM_SET_NESTED_STATE to clear GIF when SVME==0
v1: https://lore.kernel.org/kvm/20251007224405.1914008-1-jmattson@google.com/
Jim Mattson (2):
KVM: SVM: Allow KVM_SET_NESTED_STATE to clear GIF when SVME==0
KVM: SVM: Don't set GIF when clearing EFER.SVME
arch/x86/kvm/svm/nested.c | 4 ++--
arch/x86/kvm/svm/svm.c | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
--
2.51.0.740.g6adb054d12-goog