Skip to content

Commit

Permalink
Merge pull request #17029 from arixmkii/qemu_windows_settings
Browse files Browse the repository at this point in the history
Updated options for QEMU on Windows hosts
  • Loading branch information
openshift-merge-robot authored Jan 11, 2023
2 parents 7c95a5d + 35d2f61 commit 31dcb48
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/machine/qemu/options_windows_amd64.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package qemu

var (
QemuCommand = "qemu-system-x86_64"
QemuCommand = "qemu-system-x86_64w"
)

func (v *MachineVM) addArchOptions() []string {
Expand Down
19 changes: 19 additions & 0 deletions pkg/machine/qemu/options_windows_arm64.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package qemu

var (
QemuCommand = "qemu-system-aarch64w"
)

func (v *MachineVM) addArchOptions() []string {
// stub to fix compilation issues
opts := []string{}
return opts
}

func (v *MachineVM) prepare() error {
return nil
}

func (v *MachineVM) archRemovalFiles() []string {
return []string{}
}

0 comments on commit 31dcb48

Please sign in to comment.