mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
main: switch to argh
A few breaking changes: 1. `-vvv` needs to be written as `-v -v -v`. 2. `--disk D1 D2` and others need to be written as `--disk D1 --disk D2`. 3. `--option=value` needs to be written as `--option value` Change integration tests to adapt to the breaking changes. Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
@@ -359,11 +359,13 @@ pub fn performance_block_io(control: &PerformanceTestControl) -> f64 {
|
||||
guest.disk_config.disk(DiskType::OperatingSystem).unwrap()
|
||||
)
|
||||
.as_str(),
|
||||
"--disk",
|
||||
format!(
|
||||
"path={}",
|
||||
guest.disk_config.disk(DiskType::CloudInit).unwrap()
|
||||
)
|
||||
.as_str(),
|
||||
"--disk",
|
||||
format!("path={BLK_IO_TEST_IMG}").as_str(),
|
||||
])
|
||||
.default_net()
|
||||
|
||||
Reference in New Issue
Block a user