mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
hypervisor: kvm: Expose create_standard_regs() for all architectures
The aarch64 unit tests make use of this.
Fixes commit 3645654c39
Signed-off-by: Rob Bradford <rbradford@rivosinc.com>
This commit is contained in:
parent
d1c9002c48
commit
8036a2c3de
@ -1207,7 +1207,6 @@ impl cpu::Vcpu for KvmVcpu {
|
||||
///
|
||||
/// Returns StandardRegisters with default value set
|
||||
///
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
fn create_standard_regs(&self) -> StandardRegisters {
|
||||
kvm_bindings::kvm_regs::default().into()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user