Skip to content

Commit

Permalink
Add machine support for more Linux distros
Browse files Browse the repository at this point in the history
There are no regression tests for machine

[NO TESTS NEEDED]

Signed-off-by: Anders F Björklund <[email protected]>
  • Loading branch information
afbjorklund authored and jmguzik committed Apr 26, 2021
1 parent a6068f1 commit 8bb1eca
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkg/machine/qemu/options_linux_amd64.go
Original file line number Diff line number Diff line change
@@ -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
}

Expand Down

0 comments on commit 8bb1eca

Please sign in to comment.