tests: Unify API based boot across architectures

Use direct kernel boot for all the tests that create the VM via API.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2022-06-17 15:21:02 +01:00
parent 335a4e1cc0
commit 7c8719b4ea
2 changed files with 3 additions and 25 deletions

View File

@@ -4045,7 +4045,6 @@ mod parallel {
let cpu_count: u8 = 4;
let http_body = guest.api_create_body(
cpu_count,
fw_path(FwType::RustHypervisorFirmware).as_str(),
direct_kernel_boot_path().to_str().unwrap(),
DIRECT_KERNEL_BOOT_CMDLINE,
);
@@ -4099,7 +4098,6 @@ mod parallel {
let cpu_count: u8 = 4;
let http_body = guest.api_create_body(
cpu_count,
fw_path(FwType::RustHypervisorFirmware).as_str(),
direct_kernel_boot_path().to_str().unwrap(),
DIRECT_KERNEL_BOOT_CMDLINE,
);
@@ -4175,7 +4173,6 @@ mod parallel {
let cpu_count: u8 = 4;
let http_body = guest.api_create_body(
cpu_count,
fw_path(FwType::RustHypervisorFirmware).as_str(),
direct_kernel_boot_path().to_str().unwrap(),
DIRECT_KERNEL_BOOT_CMDLINE,
);
@@ -4259,7 +4256,6 @@ mod parallel {
let cpu_count: u8 = 4;
let http_body = guest.api_create_body(
cpu_count,
fw_path(FwType::RustHypervisorFirmware).as_str(),
direct_kernel_boot_path().to_str().unwrap(),
DIRECT_KERNEL_BOOT_CMDLINE,
);