From: Gerd Hoffmann Date: Fri, 31 Jul 2009 10:25:34 +0000 (+0200) Subject: QemuOpts: make the drive id actually show up in "info block". X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~11143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e23d9c4de1a6e215786dfa2baa9efb97f29c0b4d;p=sdk%2Femulator%2Fqemu.git QemuOpts: make the drive id actually show up in "info block". Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori 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 */