diff --git a/hypervisor/src/mshv/mod.rs b/hypervisor/src/mshv/mod.rs index 6684838b6..af7dfa505 100644 --- a/hypervisor/src/mshv/mod.rs +++ b/hypervisor/src/mshv/mod.rs @@ -559,11 +559,9 @@ impl cpu::Vcpu for MshvVcpu { /// /// Returns StandardRegisters with default value set /// - #[cfg(target_arch = "x86_64")] fn create_standard_regs(&self) -> crate::StandardRegisters { mshv_bindings::StandardRegisters::default().into() } - #[cfg(target_arch = "x86_64")] /// /// Returns the vCPU general purpose registers. /// @@ -575,7 +573,6 @@ impl cpu::Vcpu for MshvVcpu { .into()) } - #[cfg(target_arch = "x86_64")] /// /// Sets the vCPU general purpose registers. /// @@ -1315,16 +1312,6 @@ impl cpu::Vcpu for MshvVcpu { unimplemented!() } - #[cfg(target_arch = "aarch64")] - fn set_regs(&self, _regs: &crate::StandardRegisters) -> cpu::Result<()> { - unimplemented!() - } - - #[cfg(target_arch = "aarch64")] - fn get_regs(&self) -> cpu::Result { - unimplemented!() - } - #[cfg(target_arch = "aarch64")] fn vcpu_finalize(&self, _feature: i32) -> cpu::Result<()> { unimplemented!()