From f57b9b2359b866e9b54696b318c3ae276291dbae Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Thu, 4 Dec 2025 11:48:37 +0100 Subject: [PATCH] tests: Re-enable test_vdpa_net Creating a vdpa_net with an associated MAC address and setting the right amount of queues in order to fix the integration test related to vdpa_net. Fixes: #5756 Signed-off-by: Sebastien Boeuf --- cloud-hypervisor/tests/integration.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cloud-hypervisor/tests/integration.rs b/cloud-hypervisor/tests/integration.rs index 022c9e4ef..04638f79d 100644 --- a/cloud-hypervisor/tests/integration.rs +++ b/cloud-hypervisor/tests/integration.rs @@ -7258,7 +7258,6 @@ mod common_parallel { #[test] #[cfg(target_arch = "x86_64")] - #[ignore = "See #5756"] fn test_vdpa_net() { // Before trying to run the test, verify the vdpa_sim_net module is correctly loaded. if !exec_host_command_status("lsmod | grep vdpa_sim_net").success() { @@ -7277,7 +7276,7 @@ mod common_parallel { .args(["--cmdline", DIRECT_KERNEL_BOOT_CMDLINE]) .default_disks() .default_net() - .args(["--vdpa", "path=/dev/vhost-vdpa-2,num_queues=2"]) + .args(["--vdpa", "path=/dev/vhost-vdpa-2,num_queues=3"]) .capture_output() .spawn() .unwrap(); @@ -7296,6 +7295,9 @@ mod common_parallel { 1 ); + guest + .ssh_command("sudo ip link set dev ens6 address 00:e8:ca:33:ba:06") + .unwrap(); guest .ssh_command("sudo ip addr add 172.16.1.2/24 dev ens6") .unwrap();