summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders F Björklund <anders.f.bjorklund@gmail.com>2021-03-28 10:27:57 +0200
committerAnders F Björklund <anders.f.bjorklund@gmail.com>2021-03-28 13:35:56 +0200
commitf606e9e3c438f92e3a831bcbf807d7cc9db09dc1 (patch)
tree1490411f5b443ae7d1bc2c2b2f87da926baa1fc2
parent7e4b13b94699ee688c146afab727d2dec991376a (diff)
downloadpodman-f606e9e3c438f92e3a831bcbf807d7cc9db09dc1.tar.gz
podman-f606e9e3c438f92e3a831bcbf807d7cc9db09dc1.tar.bz2
podman-f606e9e3c438f92e3a831bcbf807d7cc9db09dc1.zip
Add machine support for more Linux distros
There are no regression tests for machine [NO TESTS NEEDED] Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
-rw-r--r--pkg/machine/qemu/options_linux_amd64.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkg/machine/qemu/options_linux_amd64.go b/pkg/machine/qemu/options_linux_amd64.go
index cc0a4bab2..3edd97ea1 100644
--- a/pkg/machine/qemu/options_linux_amd64.go
+++ b/pkg/machine/qemu/options_linux_amd64.go
@@ -1,11 +1,14 @@
package qemu
var (
- QemuCommand = "qemu-kvm"
+ QemuCommand = "qemu-system-x86_64"
)
func (v *MachineVM) addArchOptions() []string {
- opts := []string{"-cpu", "host"}
+ opts := []string{
+ "-accel", "kvm",
+ "-cpu", "host",
+ }
return opts
}