mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
govmm: Drop QEMU's NoShutdown
knob
Code is not used. Signed-off-by: Greg Kurz <groug@kaod.org>
This commit is contained in:
parent
cb5b548ad7
commit
1acf8d0c35
@ -2714,9 +2714,6 @@ type Knobs struct {
|
|||||||
// Prevents QEMU from rebooting in the event of a Triple Fault.
|
// Prevents QEMU from rebooting in the event of a Triple Fault.
|
||||||
NoReboot bool
|
NoReboot bool
|
||||||
|
|
||||||
// Don’t exit QEMU on guest shutdown, but instead only stop the emulation.
|
|
||||||
NoShutdown bool
|
|
||||||
|
|
||||||
// IOMMUPlatform will enable IOMMU for supported devices
|
// IOMMUPlatform will enable IOMMU for supported devices
|
||||||
IOMMUPlatform bool
|
IOMMUPlatform bool
|
||||||
}
|
}
|
||||||
@ -3118,10 +3115,6 @@ func (config *Config) appendKnobs() {
|
|||||||
config.qemuParams = append(config.qemuParams, "--no-reboot")
|
config.qemuParams = append(config.qemuParams, "--no-reboot")
|
||||||
}
|
}
|
||||||
|
|
||||||
if config.Knobs.NoShutdown {
|
|
||||||
config.qemuParams = append(config.qemuParams, "--no-shutdown")
|
|
||||||
}
|
|
||||||
|
|
||||||
config.appendMemoryKnobs()
|
config.appendMemoryKnobs()
|
||||||
|
|
||||||
if config.Knobs.Mlock {
|
if config.Knobs.Mlock {
|
||||||
|
Loading…
Reference in New Issue
Block a user