[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/5] QemuOpts: make the drive id actually show up in
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 3/5] QemuOpts: make the drive id actually show up in "info block". |
Date: |
Thu, 30 Jul 2009 12:43:39 +0200 |
Signed-off-by: Gerd Hoffmann <address@hidden>
---
vl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/vl.c b/vl.c
index bb56644..4f322c1 100644
--- 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_opts_id(opts)) != NULL) {
dinfo->id = qemu_strdup(buf);
} else {
/* no id supplied -> create one */
--
1.6.2.5