Skip to content

Commit

Permalink
Fix QEMU issue on binding multiple disks in M1
Browse files Browse the repository at this point in the history
  • Loading branch information
balajiv113 committed Jan 26, 2023
1 parent 87ddded commit 4cc415c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/qemu/qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ func Cmdline(cfg Config) (string, []string, error) {
"-device", "scsi-cd,bus=scsi0.0,drive=cdrom0")
default:
// TODO: consider using virtio cdrom for all the architectures
args = append(args, "-cdrom", filepath.Join(cfg.InstanceDir, filenames.CIDataISO))
args = append(args, "-drive", fmt.Sprintf("file=%s,media=cdrom,readonly=on", filepath.Join(cfg.InstanceDir, filenames.CIDataISO)))
}

// Kernel
Expand Down

0 comments on commit 4cc415c

Please # to comment.