summaryrefslogtreecommitdiff
path: root/pkg/machine/qemu/options_darwin_arm64.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2022-03-04 10:51:08 -0600
committerBrent Baude <bbaude@redhat.com>2022-03-07 14:05:06 -0600
commitcdb6deb148f72cad9794dec176e4df1b81d31d08 (patch)
tree63383f75abd5120f8687b66e482ff21c2c73f283 /pkg/machine/qemu/options_darwin_arm64.go
parente1f00b451234fb673505c54051a97d5748c99d3e (diff)
downloadpodman-cdb6deb148f72cad9794dec176e4df1b81d31d08.tar.gz
podman-cdb6deb148f72cad9794dec176e4df1b81d31d08.tar.bz2
podman-cdb6deb148f72cad9794dec176e4df1b81d31d08.zip
MacOS improvements
* Enable support of virtfs in Podman and darwin. At the time of this writing, it requires a special patch not yet included in upstream qemu. * Prefer to use a specially built qemu to support virtfs. The qemu is installed under libexec/podman. [NO NEW TESTS NEEDED] Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/machine/qemu/options_darwin_arm64.go')
-rw-r--r--pkg/machine/qemu/options_darwin_arm64.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/machine/qemu/options_darwin_arm64.go b/pkg/machine/qemu/options_darwin_arm64.go
index 727a275d2..5b6cdc86d 100644
--- a/pkg/machine/qemu/options_darwin_arm64.go
+++ b/pkg/machine/qemu/options_darwin_arm64.go
@@ -45,6 +45,7 @@ func getOvmfDir(imagePath, vmName string) string {
*/
func getEdk2CodeFd(name string) string {
dirs := []string{
+ "/opt/homebrew/opt/podman/libexec/share/qemu",
"/usr/local/share/qemu",
"/opt/homebrew/share/qemu",
}