Let OSDK allow specifying additional boot drive options

This commit is contained in:
Zhang Junyang
2024-06-05 14:34:08 +00:00
committed by Tate, Hongliang Tian
parent 37e23a16a3
commit 74e4623e70
4 changed files with 48 additions and 4 deletions

View File

@ -309,6 +309,13 @@ pub struct CommonArgs {
global = true
)]
pub boot_method: Option<BootMethod>,
#[arg(
long = "bootdev-append-options",
help = "Additional QEMU `-drive` options for the boot device",
value_name = "OPTIONS",
global = true
)]
pub bootdev_append_options: Option<String>,
#[arg(
long = "display-grub-menu",
help = "Display the GRUB menu if booting with GRUB",