Files
podman/pkg/machine/qemu/config.go
Ashley Cui a9401deadd Build tag out QEMU for Darwin
Macs no longer support QEMU as a provider, build tag it out.

Signed-off-by: Ashley Cui <acui@redhat.com>
2024-02-15 15:53:06 -05:00

23 lines
491 B
Go

//go:build !darwin
package qemu
import (
"github.com/containers/common/pkg/config"
)
// setNewMachineCMDOpts are options needed to pass
// into setting up the qemu command line. long term, this need
// should be eliminated
// TODO Podman5
type setNewMachineCMDOpts struct{}
// findQEMUBinary locates and returns the QEMU binary
func findQEMUBinary() (string, error) {
cfg, err := config.Default()
if err != nil {
return "", err
}
return cfg.FindHelperBinary(QemuCommand, true)
}