mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-02 11:35:46 +00:00
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:
parent
779bc1a53a
commit
14ba3f68d3
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user