mirror of
https://github.com/containers/podman.git
synced 2025-06-26 21:07:02 +08:00
Merge pull request #9844 from afbjorklund/qemu-kvm
Add machine support for more Linux distros
This commit is contained in:
@ -1,11 +1,14 @@
|
|||||||
package qemu
|
package qemu
|
||||||
|
|
||||||
var (
|
var (
|
||||||
QemuCommand = "qemu-kvm"
|
QemuCommand = "qemu-system-x86_64"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (v *MachineVM) addArchOptions() []string {
|
func (v *MachineVM) addArchOptions() []string {
|
||||||
opts := []string{"-cpu", "host"}
|
opts := []string{
|
||||||
|
"-accel", "kvm",
|
||||||
|
"-cpu", "host",
|
||||||
|
}
|
||||||
return opts
|
return opts
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user