Fix path for omvf vars on Darwin/arm64

On darwin arm64, we need to set the location of the ovmf vars. It should be put into the imageDir (also known as as dataDir).  But because qemu determines the image path late in Init(), the image path is set something like a stream marker.

Fixes #20361

[NO NEW TESTS NEEDED]

Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
Brent Baude
2023-10-18 10:40:08 -05:00
parent 02757ab20d
commit cad4d0ee9f
9 changed files with 29 additions and 15 deletions

View File

@ -4,7 +4,7 @@ var (
QemuCommand = "qemu-system-aarch64w"
)
func (v *MachineVM) addArchOptions() []string {
func (v *MachineVM) addArchOptions(_ *setNewMachineCMDOpts) []string {
// stub to fix compilation issues
opts := []string{}
return opts