[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT e23d9c4] QemuOpts: make the drive id actually sho
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT e23d9c4] QemuOpts: make the drive id actually show up in"info block". |
Date: |
Mon, 10 Aug 2009 21:48:10 -0000 |
From: Gerd Hoffmann <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Message-Id:
diff --git a/vl.c b/vl.c
index a526cb0..4cd1b60 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 */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT e23d9c4] QemuOpts: make the drive id actually show up in"info block".,
Anthony Liguori <=