hypervisor: mshv: Restrict NMI injection to x86
NMI injection is only supported on x86 architecture. Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
This commit is contained in:
parent
97a1a70275
commit
dad1ab1227
1 changed files with 1 additions and 0 deletions
|
|
@ -1361,6 +1361,7 @@ impl cpu::Vcpu for MshvVcpu {
|
|||
.set_sev_control_register(sev_control_reg)
|
||||
.map_err(|e| cpu::HypervisorCpuError::SetSevControlRegister(e.into()))
|
||||
}
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
///
|
||||
/// Trigger NMI interrupt
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue