Merge pull request #15851 from arixmkii/win_qemu_settings

Default qemu flags for Windows amd64
This commit is contained in:
OpenShift Merge Robot
2022-10-28 14:36:14 -04:00
committed by GitHub

View File

@ -0,0 +1,18 @@
package qemu
var (
QemuCommand = "qemu-system-x86_64"
)
func (v *MachineVM) addArchOptions() []string {
opts := []string{"-machine", "q35,accel=whpx:tcg", "-cpu", "max,vmx=off,monitor=off"}
return opts
}
func (v *MachineVM) prepare() error {
return nil
}
func (v *MachineVM) archRemovalFiles() []string {
return []string{}
}