mirror of
https://github.com/containers/podman.git
synced 2025-10-19 12:12:36 +08:00

> pkg/machine/qemu/stubber.go:92:23: ST1016: methods on the same type should have the same receiver name (seen 1x "v", 25x "q") (staticcheck) > func (q *QEMUStubber) CreateVM(opts define.CreateVMOpts, mc *vmconfigs.MachineConfig, builder *ignition.IgnitionBuilder) error { > ^ Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
16 lines
255 B
Go
16 lines
255 B
Go
//go:build freebsd && arm64
|
|
|
|
package qemu
|
|
|
|
var (
|
|
QemuCommand = "qemu-system-aarch64"
|
|
)
|
|
|
|
func (q *QEMUStubber) addArchOptions(_ *setNewMachineCMDOpts) []string {
|
|
opts := []string{
|
|
"-machine", "virt",
|
|
"-accel", "tcg",
|
|
"-cpu", "host"}
|
|
return opts
|
|
}
|