commit | 21c9f4cdc63f4ab85f7271b5d6de999ad74d4488 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Wed Jul 29 10:39:59 2009 +0200 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Thu Jul 30 09:50:37 2009 -0500 |
tree | 0c4e0c46eea1ee91a69ceb671d705159edd8253b | |
parent | a414c306c06c4ee9cb05af645b9fee6f8ea34038 [diff] |
qemu-option: fix parse_option_number(). It works much better when parse_option_number actually returns the number parsed ... Common breakage resulting from this bug is that 'qemu -hda foo.img -cdrom bar.iso' stops working (cdrom isn't there). Cc: Avi Kivity <avi@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>