From d49363a5af105c1c0ba39761e73772190c04d982 Mon Sep 17 00:00:00 2001 From: Bo Chen Date: Thu, 17 Mar 2022 21:06:41 -0700 Subject: [PATCH] tests: Enable guest console log for test_vfio_user Signed-off-by: Bo Chen --- tests/integration.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration.rs b/tests/integration.rs index 3be755549..9ff48efc3 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -5781,6 +5781,7 @@ mod parallel { .args(&["--cpus", "boot=1"]) .args(&["--memory", "size=512M,shared=on,hugepages=on"]) .args(&["--kernel", fw_path(FwType::RustHypervisorFirmware).as_str()]) + .args(&["--serial", "tty", "--console", "off"]) .default_disks() .default_net() .capture_output() @@ -5805,7 +5806,7 @@ mod parallel { ); assert!(cmd_success); assert!(String::from_utf8_lossy(&cmd_output) - .contains("{\"id\":\"vfio_user0\",\"bdf\":\"0000:00:06.0\"}")); + .contains("{\"id\":\"vfio_user0\",\"bdf\":\"0000:00:05.0\"}")); thread::sleep(std::time::Duration::new(10, 0));