qemu-option: parse_option_number(): use error_set()
authorLuiz Capitulino <lcapitulino@redhat.com>
Wed, 21 Mar 2012 17:37:44 +0000 (14:37 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Mon, 4 Jun 2012 16:49:34 +0000 (13:49 -0300)
commit2f39df5b0da6a030cc04c80e4e78ccd7002176b0
tree92571fbb424d3664e1db32e75b319b2baee0901d
parent8be7e7e4c72c048b90e3482557954a24bba43ba7
qemu-option: parse_option_number(): use error_set()

Note that qemu_opt_parse() callers still expect automatic error reporting
with QError, so qemu_opts_parse() calls qerror_report_err() to keep the
same semantics.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-By: Laszlo Ersek <lersek@redhat.com>
qemu-option.c