mirror of
https://github.com/containers/podman.git
synced 2025-06-30 15:49:03 +08:00
Merge pull request #15851 from arixmkii/win_qemu_settings
Default qemu flags for Windows amd64
This commit is contained in:
18
pkg/machine/qemu/options_windows_amd64.go
Normal file
18
pkg/machine/qemu/options_windows_amd64.go
Normal 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{}
|
||||||
|
}
|
Reference in New Issue
Block a user