From f606e9e3c438f92e3a831bcbf807d7cc9db09dc1 Mon Sep 17 00:00:00 2001 From: Anders F Björklund Date: Sun, 28 Mar 2021 10:27:57 +0200 Subject: Add machine support for more Linux distros MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are no regression tests for machine [NO TESTS NEEDED] Signed-off-by: Anders F Björklund --- pkg/machine/qemu/options_linux_amd64.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pkg') 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 } -- cgit v1.2.3-54-g00ecf