aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorIsaku Yamahata <[email protected]>2025-02-22 01:47:49 +0000
committerPaolo Bonzini <[email protected]>2025-03-14 18:20:56 +0000
commit2b06beb08f560dbc14f1887cc32f7291586209c4 (patch)
tree21352048890f5404492ef3bc171e574fd43598b6 /rust/helpers/workqueue.c
parentKVM: TDX: Implement methods to inject NMI (diff)
downloadkernel-2b06beb08f560dbc14f1887cc32f7291586209c4.tar.gz
kernel-2b06beb08f560dbc14f1887cc32f7291586209c4.zip
KVM: TDX: Handle SMI request as !CONFIG_KVM_SMM
Handle SMI request as what KVM does for CONFIG_KVM_SMM=n, i.e. return -ENOTTY, and add KVM_BUG_ON() to SMI related OPs for TD. TDX doesn't support system-management mode (SMM) and system-management interrupt (SMI) in guest TDs. Because guest state (vCPU state, memory state) is protected, it must go through the TDX module APIs to change guest state. However, the TDX module doesn't provide a way for VMM to inject SMI into guest TD or a way for VMM to switch guest vCPU mode into SMM. MSR_IA32_SMBASE will not be emulated for TDX guest, -ENOTTY will be returned when SMI is requested. Signed-off-by: Isaku Yamahata <[email protected]> Co-developed-by: Binbin Wu <[email protected]> Signed-off-by: Binbin Wu <[email protected]> Message-ID: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions