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
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue