diff --git a/test_infra/src/lib.rs b/test_infra/src/lib.rs index f2b7bb9fb..345aa3c25 100644 --- a/test_infra/src/lib.rs +++ b/test_infra/src/lib.rs @@ -985,8 +985,8 @@ impl Guest { network, vm_type: GuestVmType::Regular, boot_timeout: DEFAULT_TCP_LISTENER_TIMEOUT, - kernel_path: None, - kernel_cmdline: None, + kernel_path: direct_kernel_boot_path().to_str().map(String::from), + kernel_cmdline: Some(DIRECT_KERNEL_BOOT_CMDLINE.to_string()), console_type: None, num_cpu: 1u32, nested: true,