Files
podman/pkg/machine/qemu/options_windows_amd64.go
Arthur Sengileyev 7f6a203558 Fix compilation issues in QEMU machine files (Windows platform)
Signed-off-by: Arthur Sengileyev <arthur.sengileyev@gmail.com>
2024-11-27 17:23:08 +02:00

15 lines
440 B
Go

//go:build windows && amd64
package qemu
var (
QemuCommand = "qemu-system-x86_64w"
)
func (q *QEMUStubber) addArchOptions(_ *setNewMachineCMDOpts) []string {
// "qemu64" level is used, because "host" is not supported with "whpx" acceleration.
// It is a stable choice for running on bare metal and inside Hyper-V machine with nested virtualization.
opts := []string{"-machine", "q35,accel=whpx:tcg", "-cpu", "qemu64"}
return opts
}