mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: windows: remove sparse=off workaround
The config space fix in the previous commit correctly populates the discard and write zeroes fields, so the sparse=off workaround is no longer needed for Windows guests. Replace default_disks_sparse_off() with default_disks() in all Windows test cases and remove the explicit sparse=off from the multi queue test. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
a7fefb63dd
commit
083892b2e2
@@ -11844,7 +11844,7 @@ mod windows {
|
||||
.args(["--kernel", edk2_path().to_str().unwrap()])
|
||||
.args(["--serial", "tty"])
|
||||
.args(["--console", "off"])
|
||||
.default_disks_sparse_off()
|
||||
.default_disks()
|
||||
.default_net()
|
||||
.capture_output()
|
||||
.spawn()
|
||||
@@ -11893,7 +11893,7 @@ mod windows {
|
||||
.args([
|
||||
"--disk",
|
||||
format!(
|
||||
"path={},num_queues=4,sparse=off",
|
||||
"path={},num_queues=4",
|
||||
windows_guest
|
||||
.guest()
|
||||
.disk_config
|
||||
@@ -11961,7 +11961,7 @@ mod windows {
|
||||
.args(["--kernel", ovmf_path.to_str().unwrap()])
|
||||
.args(["--serial", "tty"])
|
||||
.args(["--console", "off"])
|
||||
.default_disks_sparse_off()
|
||||
.default_disks()
|
||||
.default_net()
|
||||
.capture_output()
|
||||
.spawn()
|
||||
@@ -12050,7 +12050,7 @@ mod windows {
|
||||
.args(["--kernel", ovmf_path.to_str().unwrap()])
|
||||
.args(["--serial", "tty"])
|
||||
.args(["--console", "off"])
|
||||
.default_disks_sparse_off()
|
||||
.default_disks()
|
||||
.default_net()
|
||||
.capture_output()
|
||||
.spawn()
|
||||
@@ -12125,7 +12125,7 @@ mod windows {
|
||||
.args(["--kernel", ovmf_path.to_str().unwrap()])
|
||||
.args(["--serial", "tty"])
|
||||
.args(["--console", "off"])
|
||||
.default_disks_sparse_off()
|
||||
.default_disks()
|
||||
.default_net()
|
||||
.capture_output()
|
||||
.spawn()
|
||||
@@ -12199,7 +12199,7 @@ mod windows {
|
||||
.args(["--kernel", ovmf_path.to_str().unwrap()])
|
||||
.args(["--serial", "tty"])
|
||||
.args(["--console", "off"])
|
||||
.default_disks_sparse_off()
|
||||
.default_disks()
|
||||
.default_net()
|
||||
.capture_output()
|
||||
.spawn()
|
||||
@@ -12273,7 +12273,7 @@ mod windows {
|
||||
.args(["--kernel", ovmf_path.to_str().unwrap()])
|
||||
.args(["--serial", "tty"])
|
||||
.args(["--console", "off"])
|
||||
.default_disks_sparse_off()
|
||||
.default_disks()
|
||||
.default_net()
|
||||
.capture_output()
|
||||
.spawn()
|
||||
@@ -12369,7 +12369,7 @@ mod windows {
|
||||
.args(["--kernel", ovmf_path.to_str().unwrap()])
|
||||
.args(["--serial", "tty"])
|
||||
.args(["--console", "off"])
|
||||
.default_disks_sparse_off()
|
||||
.default_disks()
|
||||
.default_net()
|
||||
.capture_output()
|
||||
.spawn()
|
||||
@@ -12501,7 +12501,7 @@ mod windows {
|
||||
.args(["--kernel", ovmf_path.to_str().unwrap()])
|
||||
.args(["--serial", "tty"])
|
||||
.args(["--console", "off"])
|
||||
.default_disks_sparse_off()
|
||||
.default_disks()
|
||||
// The multi net dev config is borrowed from test_multiple_network_interfaces
|
||||
.args([
|
||||
"--net",
|
||||
|
||||
Reference in New Issue
Block a user