vmm: hypervisor: Add support for injecting NMI for MSHV guest

Currently, we only support injecting NMI for KVM guests but we can do
the same for MSHV guests as well to have feature parity.

Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
This commit is contained in:
Jinank Jain
2024-03-05 16:23:31 +05:30
committed by Liu Wei
parent da376a4b37
commit cd116cb24f
3 changed files with 21 additions and 6 deletions

View File

@@ -515,7 +515,5 @@ pub trait Vcpu: Send + Sync {
///
/// Trigger NMI interrupt
///
fn nmi(&self) -> Result<()> {
unimplemented!()
}
fn nmi(&self) -> Result<()>;
}