mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-20 16:27:52 +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,
|
nodefaults: bool,
|
||||||
nographic: bool,
|
nographic: bool,
|
||||||
no_reboot: bool,
|
no_reboot: bool,
|
||||||
no_shutdown: bool,
|
|
||||||
daemonize: bool,
|
|
||||||
stopped: bool,
|
|
||||||
|
|
||||||
vga: String,
|
vga: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -377,9 +373,6 @@ impl Knobs {
|
|||||||
nodefaults: true,
|
nodefaults: true,
|
||||||
nographic: true,
|
nographic: true,
|
||||||
no_reboot: true,
|
no_reboot: true,
|
||||||
no_shutdown: false,
|
|
||||||
daemonize: false,
|
|
||||||
stopped: false,
|
|
||||||
vga: "none".to_owned(),
|
vga: "none".to_owned(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -403,15 +396,6 @@ impl ToQemuParams for Knobs {
|
|||||||
if self.no_reboot {
|
if self.no_reboot {
|
||||||
result.push("-no-reboot".to_owned());
|
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)
|
Ok(result)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user