github.com/containers/podman/v4@v4.9.4/pkg/machine/qemu/options_windows_amd64.go (about) 1 package qemu 2 3 var ( 4 QemuCommand = "qemu-system-x86_64w" 5 ) 6 7 func (v *MachineVM) addArchOptions(_ *setNewMachineCMDOpts) []string { 8 // "max" level is used, because "host" is not supported with "whpx" acceleration 9 // "vmx=off" disabled nested virtualization (not needed for podman) 10 // QEMU issue to track nested virtualization: https://gitlab.com/qemu-project/qemu/-/issues/628 11 // "monitor=off" needed to support hosts, which have mwait calls disabled in BIOS/UEFI 12 opts := []string{"-machine", "q35,accel=whpx:tcg", "-cpu", "max,vmx=off,monitor=off"} 13 return opts 14 } 15 16 func (v *MachineVM) prepare() error { 17 return nil 18 } 19 20 func (v *MachineVM) archRemovalFiles() []string { 21 return []string{} 22 }