mirror of
https://github.com/containers/podman.git
synced 2025-11-29 01:28:22 +08:00
Based on our discussion gofumpt won the vote so use that one via golangci-lint. https://github.com/containers/podman/discussions/27291 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
15 lines
258 B
Go
15 lines
258 B
Go
//go:build linux && amd64
|
|
|
|
package qemu
|
|
|
|
var QemuCommand = "qemu-system-x86_64"
|
|
|
|
func (q *QEMUStubber) addArchOptions(_ *setNewMachineCMDOpts) []string {
|
|
opts := []string{
|
|
"-accel", "kvm",
|
|
"-cpu", "host",
|
|
"-M", "memory-backend=mem",
|
|
}
|
|
return opts
|
|
}
|