pkg/machine: Make this build on FreeBSD/arm64

[NO NEW TESTS NEEDED]

Signed-off-by: Doug Rabson <dfr@rabson.org>
This commit is contained in:
Doug Rabson
2022-10-31 15:11:31 +00:00
parent 3279342ffe
commit e23444fbc5

View File

@ -0,0 +1,21 @@
package qemu
var (
QemuCommand = "qemu-system-aarch64"
)
func (v *MachineVM) addArchOptions() []string {
opts := []string{
"-machine", "virt",
"-accel", "tcg",
"-cpu", "host"}
return opts
}
func (v *MachineVM) prepare() error {
return nil
}
func (v *MachineVM) archRemovalFiles() []string {
return []string{}
}