vmm: cpu: Remove unused import in unit tests

These are the leftovers from the commit 8155be2:
arch: aarch64: vm_memory is not required when configuring vcpu

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
Henry Wang 2022-01-18 07:06:16 -05:00 committed by Michael
parent 779bc1a53a
commit 14ba3f68d3

View File

@ -1738,8 +1738,6 @@ mod tests {
#[cfg(target_arch = "aarch64")] #[cfg(target_arch = "aarch64")]
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use crate::GuestMemoryMmap;
use arch::aarch64::layout;
use arch::aarch64::regs::*; use arch::aarch64::regs::*;
use hypervisor::kvm::aarch64::{is_system_register, MPIDR_EL1}; use hypervisor::kvm::aarch64::{is_system_register, MPIDR_EL1};
use hypervisor::kvm::kvm_bindings::{ use hypervisor::kvm::kvm_bindings::{
@ -1748,7 +1746,6 @@ mod tests {
}; };
use hypervisor::{arm64_core_reg_id, offset__of}; use hypervisor::{arm64_core_reg_id, offset__of};
use std::mem; use std::mem;
use vm_memory::GuestAddress;
#[test] #[test]
fn test_setup_regs() { fn test_setup_regs() {