projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d37818
)
QemuOpts: make the drive id actually show up in "info block".
author
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 31 Jul 2009 10:25:34 +0000
(12:25 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Mon, 10 Aug 2009 18:05:26 +0000
(13:05 -0500)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index a526cb0f355492e7fb2b895201bc5f57f7a43562..4cd1b60327e9e12e26d6af837e09d132c9898d07 100644
(file)
--- a/
vl.c
+++ b/
vl.c
@@
-2213,7
+2213,7
@@
DriveInfo *drive_init(QemuOpts *opts, void *opaque,
/* init */
dinfo = qemu_mallocz(sizeof(*dinfo));
- if ((buf = qemu_opt
_get(opts, "id"
)) != NULL) {
+ if ((buf = qemu_opt
s_id(opts
)) != NULL) {
dinfo->id = qemu_strdup(buf);
} else {
/* no id supplied -> create one */