Files
podman/pkg/machine/qemu/options_freebsd_arm64.go
Kir Kolyshkin 18fdbaee80 pkg/machine/qemu: fix ST1016 linter warning on freebsd
> 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>
2025-03-31 12:30:43 -07:00

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
}