diff --git a/scripts/run.py b/scripts/run.py index 274beecbae4665c48b193ff6914721a1d65da298..ecf23a07c71bd9d95d61afb6228216a7605b02f4 100755 --- a/scripts/run.py +++ b/scripts/run.py @@ -63,7 +63,9 @@ def start_osv_qemu(options): "-drive", "file=%s,if=none,id=hd0,media=disk,aio=native,cache=%s" % (options.image_file, cache), "-device", "scsi-hd,bus=scsi0.0,drive=hd0,lun=0,bootindex=0"] else: - args += ["-drive", "file=%s,if=virtio,cache=%s" % (options.image_file, cache)] + args += [ + "-device", "virtio-blk-pci,id=blk0,bootindex=0,drive=hd0,scsi=off", + "-drive", "file=%s,if=none,id=hd0,cache=%s" % (options.image_file, cache)] if (options.no_shutdown): args += ["-no-reboot", "-no-shutdown"]