[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260106041250.2125920-1-chengkev@google.com>
Date: Tue, 6 Jan 2026 04:12:48 +0000
From: Kevin Cheng <chengkev@...gle.com>
To: seanjc@...gle.com, pbonzini@...hat.com
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org, yosry.ahmed@...ux.dev,
Kevin Cheng <chengkev@...gle.com>
Subject: [PATCH 0/2] KVM: SVM: Align SVM with APM defined behaviors
The APM lists the following behaviors
- The VMRUN, VMLOAD, VMSAVE, CLGI, VMMCALL, and INVLPGA instructions
can be used when the EFER.SVME is set to 1; otherwise, these
instructions generate a #UD exception.
- If VMMCALL instruction is not intercepted, the instruction raises a
#UD exception.
The patches in this series fix current SVM bugs that do not adhere to
the APM listed behaviors.
Kevin Cheng (2):
KVM: SVM: Generate #UD for certain instructions when SVME.EFER is
disabled
KVM: SVM: Raise #UD if VMMCALL instruction is not intercepted
arch/x86/kvm/svm/svm.c | 43 +++++++++++++++++++++++++++++++++++++++---
1 file changed, 40 insertions(+), 3 deletions(-)
--
2.52.0.351.gbe84eed79e-goog
Powered by blists - more mailing lists