mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
hypervisor: Add a basic implementation of MshvVcpuState for aarch64
Currently we are just storing the StandardRegisters in the Vcpu state which would be required for saving and restoring the ARM64 guest on MSHV. Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
This commit is contained in:
@@ -163,7 +163,7 @@ pub enum IoEventAddress {
|
||||
pub enum CpuState {
|
||||
#[cfg(feature = "kvm")]
|
||||
Kvm(kvm::VcpuKvmState),
|
||||
#[cfg(all(feature = "mshv", target_arch = "x86_64"))]
|
||||
#[cfg(feature = "mshv")]
|
||||
Mshv(mshv::VcpuMshvState),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user