From 14ba3f68d319020794c133241cbcb87dfb66118d Mon Sep 17 00:00:00 2001 From: Henry Wang Date: Tue, 18 Jan 2022 07:06:16 -0500 Subject: [PATCH] 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 --- vmm/src/cpu.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/vmm/src/cpu.rs b/vmm/src/cpu.rs index 579ca28d6..9d66e93a6 100644 --- a/vmm/src/cpu.rs +++ b/vmm/src/cpu.rs @@ -1738,8 +1738,6 @@ mod tests { #[cfg(target_arch = "aarch64")] #[cfg(test)] mod tests { - use crate::GuestMemoryMmap; - use arch::aarch64::layout; use arch::aarch64::regs::*; use hypervisor::kvm::aarch64::{is_system_register, MPIDR_EL1}; use hypervisor::kvm::kvm_bindings::{ @@ -1748,7 +1746,6 @@ mod tests { }; use hypervisor::{arm64_core_reg_id, offset__of}; use std::mem; - use vm_memory::GuestAddress; #[test] fn test_setup_regs() {