summaryrefslogtreecommitdiff
path: root/pkg/machine/qemu/options_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/machine/qemu/options_amd64.go')
-rw-r--r--pkg/machine/qemu/options_amd64.go26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkg/machine/qemu/options_amd64.go b/pkg/machine/qemu/options_amd64.go
new file mode 100644
index 000000000..85a2c4b3e
--- /dev/null
+++ b/pkg/machine/qemu/options_amd64.go
@@ -0,0 +1,26 @@
+package qemu
+
+import (
+ "github.com/containers/podman/v3/pkg/util"
+)
+
+var (
+ QemuCommand = "qemu-kvm"
+)
+
+func (v *MachineVM) addArchOptions() []string {
+ opts := []string{"-cpu", "host"}
+ return opts
+}
+
+func (v *MachineVM) prepare() error {
+ return nil
+}
+
+func (v *MachineVM) archRemovalFiles() []string {
+ return []string{}
+}
+
+func getDataDir() (string, error) {
+ return util.GetRuntimeDir()
+}