govmm: Drop QEMU's NoShutdown knob

Code is not used.

Signed-off-by: Greg Kurz <groug@kaod.org>
This commit is contained in:
Greg Kurz 2024-05-31 14:53:40 +02:00
parent cb5b548ad7
commit 1acf8d0c35

View File

@ -2714,9 +2714,6 @@ type Knobs struct {
// Prevents QEMU from rebooting in the event of a Triple Fault.
NoReboot bool
// Dont exit QEMU on guest shutdown, but instead only stop the emulation.
NoShutdown bool
// IOMMUPlatform will enable IOMMU for supported devices
IOMMUPlatform bool
}
@ -3118,10 +3115,6 @@ func (config *Config) appendKnobs() {
config.qemuParams = append(config.qemuParams, "--no-reboot")
}
if config.Knobs.NoShutdown {
config.qemuParams = append(config.qemuParams, "--no-shutdown")
}
config.appendMemoryKnobs()
if config.Knobs.Mlock {