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)
commit6d378185c665c0edf3081f570c5b42dd3303f9b4
tree91bb1af4bb6d5f5c38b0b7fb226393303774726f
parent48026075aeca1dc62599a4aaae844edff9679cb4
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