mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-19 07:49:17 +00:00
Merge pull request #9642 from gkurz/drop-unused-knobs-qemu-rs
runtime-rs: Drop some useless QEMU arguments
This commit is contained in:
@@ -363,10 +363,6 @@ struct Knobs {
|
||||
nodefaults: bool,
|
||||
nographic: bool,
|
||||
no_reboot: bool,
|
||||
no_shutdown: bool,
|
||||
daemonize: bool,
|
||||
stopped: bool,
|
||||
|
||||
vga: String,
|
||||
}
|
||||
|
||||
@@ -377,9 +373,6 @@ impl Knobs {
|
||||
nodefaults: true,
|
||||
nographic: true,
|
||||
no_reboot: true,
|
||||
no_shutdown: false,
|
||||
daemonize: false,
|
||||
stopped: false,
|
||||
vga: "none".to_owned(),
|
||||
}
|
||||
}
|
||||
@@ -403,15 +396,6 @@ impl ToQemuParams for Knobs {
|
||||
if self.no_reboot {
|
||||
result.push("-no-reboot".to_owned());
|
||||
}
|
||||
if self.no_shutdown {
|
||||
result.push("-no-shutdown".to_owned());
|
||||
}
|
||||
if self.daemonize {
|
||||
result.push("-daemonize".to_owned());
|
||||
}
|
||||
if self.stopped {
|
||||
result.push("-S".to_owned());
|
||||
}
|
||||
Ok(result)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user