mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
performance-metrics: Set image_type for backing file tests
Add explicit image_type=qcow2 along backing_files=on for the relevant QCOW2 perf tests. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
This commit is contained in:
@@ -441,7 +441,7 @@ pub fn performance_block_io(control: &PerformanceTestControl) -> f64 {
|
||||
let mut test_disk_arg =
|
||||
format!("path={test_file},queue_size={queue_size},num_queues={num_queues}");
|
||||
if test_file == OVERLAY_WITH_QCOW2_BACKING || test_file == OVERLAY_WITH_RAW_BACKING {
|
||||
test_disk_arg.push_str(",backing_files=on");
|
||||
test_disk_arg.push_str(",image_type=qcow2,backing_files=on");
|
||||
}
|
||||
|
||||
let mut child = GuestCommand::new(&guest)
|
||||
|
||||
Reference in New Issue
Block a user