summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index df76270904..0558d1d87b 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).