summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-07 13:12:40 +0200
committerGitHub <noreply@github.com>2021-09-07 13:12:40 +0200
commit668deb2ff1cb918ec787e4c1de3a7c321b0def0b (patch)
tree007c21c580dd36d834cef13895fb26ac4f5d3196
parente095667ac8c2ccaf06dea6d4c61f51d93b736968 (diff)
parent57133bb3341ffa37c68945669b746f593f6be01e (diff)
downloadpodman-668deb2ff1cb918ec787e4c1de3a7c321b0def0b.tar.gz
podman-668deb2ff1cb918ec787e4c1de3a7c321b0def0b.tar.bz2
podman-668deb2ff1cb918ec787e4c1de3a7c321b0def0b.zip
Merge pull request #11442 from scottschreckengaust/main
Adding `-cpu host` for qemu for MacOS
-rw-r--r--pkg/machine/qemu/options_darwin_amd64.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/machine/qemu/options_darwin_amd64.go b/pkg/machine/qemu/options_darwin_amd64.go
index ee1036291..ff8d10db1 100644
--- a/pkg/machine/qemu/options_darwin_amd64.go
+++ b/pkg/machine/qemu/options_darwin_amd64.go
@@ -5,7 +5,7 @@ var (
)
func (v *MachineVM) addArchOptions() []string {
- opts := []string{"-machine", "q35,accel=hvf:tcg"}
+ opts := []string{"-machine", "q35,accel=hvf:tcg", "-cpu", "host"}
return opts
}