hypervisor: mshv: drop get_suspend_regs

It is not used (yet).

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu
2022-07-15 19:03:02 +00:00
committed by Rob Bradford
parent f1ab86fecb
commit edf6dda705
2 changed files with 0 additions and 21 deletions

View File

@@ -700,15 +700,6 @@ impl cpu::Vcpu for MshvVcpu {
}
#[cfg(target_arch = "x86_64")]
///
/// X86 specific call that returns the vcpu's current "suspend registers".
///
fn get_suspend_regs(&self) -> cpu::Result<SuspendRegisters> {
self.fd
.get_suspend_regs()
.map_err(|e| cpu::HypervisorCpuError::GetSuspendRegs(e.into()))
}
#[cfg(target_arch = "x86_64")]
///
/// Return the list of initial MSR entries for a VCPU
///
fn boot_msr_entries(&self) -> MsrEntries {