aboutsummaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-29 14:10:42 +0000
committerGitHub <noreply@github.com>2021-03-29 14:10:42 +0000
commit8e01f48d840b52cc5765e1f0202e0cabacd573f5 (patch)
treec5c612d8ee8168b507333131e4547e3ed73ae835 /pkg
parentac3499cc9605dd2c7bfccedd6f9a95c7bc0dd9ad (diff)
parentf606e9e3c438f92e3a831bcbf807d7cc9db09dc1 (diff)
downloadpodman-8e01f48d840b52cc5765e1f0202e0cabacd573f5.tar.gz
podman-8e01f48d840b52cc5765e1f0202e0cabacd573f5.tar.bz2
podman-8e01f48d840b52cc5765e1f0202e0cabacd573f5.zip
Merge pull request #9844 from afbjorklund/qemu-kvm
Add machine support for more Linux distros
Diffstat (limited to 'pkg')
-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
}