diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-07-31 12:25:34 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-10 13:05:26 -0500 |
commit | e23d9c4de1a6e215786dfa2baa9efb97f29c0b4d (patch) | |
tree | b9ff31db77505482fa4dfd08c2fc6e49ac1c5b38 /vl.c | |
parent | 6d378185c665c0edf3081f570c5b42dd3303f9b4 (diff) | |
download | qemu-e23d9c4de1a6e215786dfa2baa9efb97f29c0b4d.zip qemu-e23d9c4de1a6e215786dfa2baa9efb97f29c0b4d.tar.gz qemu-e23d9c4de1a6e215786dfa2baa9efb97f29c0b4d.tar.bz2 |
QemuOpts: make the drive id actually show up in "info block".
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |