[gnome-continuous-yocto/gnomeostree-3.28-rocko: 8148/8267] runqemu: correct rootfs setup to boot an ide hddimg
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 8148/8267] runqemu: correct rootfs setup to boot an ide hddimg
- Date: Sun, 17 Dec 2017 07:14:42 +0000 (UTC)
commit 8754f4779c33511288b418031aa21cd464affe1e
Author: Thomas Perrot <thomas perrot tupi fr>
Date: Sun Nov 5 23:43:29 2017 +0100
runqemu: correct rootfs setup to boot an ide hddimg
vm_drive variable is malformed when the drive type is an ide device.
(From OE-Core rev: 02dbf124328eebdfdf62402588a41719953a22bf)
Signed-off-by: Thomas Perrot <thomas perrot tupi fr>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
(cherry picked from commit 88d7b17871fe8340ab7fd5c901d3a535ae098c3e)
Signed-off-by: Armin Kuster <akuster808 gmail com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
scripts/runqemu | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/runqemu b/scripts/runqemu
index df76270..0558d1d 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1018,7 +1018,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).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]