mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 03:15:20 +00:00
tests: Enable test_vfio_user
for AArch64
Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
parent
d5b4d0d951
commit
b7b3b45364
@ -6172,11 +6172,14 @@ mod parallel {
|
|||||||
exec_host_command_status("pkill -f nvmf_tgt");
|
exec_host_command_status("pkill -f nvmf_tgt");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[ignore]
|
|
||||||
#[cfg(target_arch = "x86_64")]
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg(target_arch = "aarch64")]
|
||||||
fn test_vfio_user() {
|
fn test_vfio_user() {
|
||||||
let focal = UbuntuDiskConfig::new(FOCAL_IMAGE_NAME.to_string());
|
#[cfg(target_arch = "aarch64")]
|
||||||
|
let focal_image = FOCAL_IMAGE_UPDATE_KERNEL_NAME.to_string();
|
||||||
|
#[cfg(target_arch = "x86_64")]
|
||||||
|
let focal_image = FOCAL_IMAGE_NAME.to_string();
|
||||||
|
let focal = UbuntuDiskConfig::new(focal_image);
|
||||||
let guest = Guest::new(Box::new(focal));
|
let guest = Guest::new(Box::new(focal));
|
||||||
|
|
||||||
let spdk_nvme_dir = guest.tmp_dir.as_path().join("test-vfio-user");
|
let spdk_nvme_dir = guest.tmp_dir.as_path().join("test-vfio-user");
|
||||||
|
Loading…
Reference in New Issue
Block a user