vm_drive variable is malformed when the drive type is an ide device.
Signed-off-by: Thomas Perrot <[email protected]>
---
scripts/runqemu | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index f0ddeea1bf..7d3b69bc01 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -990,7 +990,7 @@ class BaseConfig(object):
% (self.rootfs, rootfs_format)
elif drive_type.startswith("/dev/hd"):
logger.info('Using ide drive')
- vm_drive = "%s,format=%s" % (self.rootfs,
rootfs_format)
+ vm_drive = "-drive file=%s,format=%s" % (self.rootfs,
rootfs_format)
else:
# virtio might have been selected explicitly (just use
it), or
# is used as fallback (then warn about that).
--
2.13.6
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core