mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 03:12:27 +00:00
tests: Enable guest console log for test_vfio_user
Signed-off-by: Bo Chen <chen.bo@intel.com>
This commit is contained in:
parent
0e2cb9fd06
commit
d49363a5af
@ -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));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user