QemuOpts: qemu_opts_parse: fix id= parsing
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 31 Jul 2009 10:25:33 +0000 (12:25 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 10 Aug 2009 18:05:26 +0000 (13:05 -0500)
commitd3afade09e95f94a8da55dfe144bc61657aaca8b
tree91bb1af4bb6d5f5c38b0b7fb226393303774726f
parent84ed800e03d9be37536702bcf443255e0a8f975f
QemuOpts: qemu_opts_parse: fix id= parsing

We can't use get_param_value(), it can't handle parameters without
'=' in there.  Examples not working because of that:

  -device foo,id=bar
  -device file=/path/image,format=qcow2,snapshot,id=disk0

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
qemu-option.c