summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 9dc6a05c57..fe4459dfb8 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1018,7 +1018,7 @@ class BaseConfig(object):
1018 % (self.rootfs, rootfs_format) 1018 % (self.rootfs, rootfs_format)
1019 elif drive_type.startswith("/dev/hd"): 1019 elif drive_type.startswith("/dev/hd"):
1020 logger.info('Using ide drive') 1020 logger.info('Using ide drive')
1021 vm_drive = "%s,format=%s" % (self.rootfs, rootfs_format) 1021 vm_drive = "-drive file=%s,format=%s" % (self.rootfs, rootfs_format)
1022 else: 1022 else:
1023 # virtio might have been selected explicitly (just use it), or 1023 # virtio might have been selected explicitly (just use it), or
1024 # is used as fallback (then warn about that). 1024 # is used as fallback (then warn about that).