summaryrefslogtreecommitdiffstats
path: root/target-i386
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2015-04-08 14:57:31 -0300
committerEduardo Habkost <ehabkost@redhat.com>2015-04-27 15:38:13 -0300
commitd9f7e29ee5a6915caa049ba64c0a9f28766351d2 (patch)
tree04d2fc9f31ae039ee9e8d942c990b001adc66610 /target-i386
parentb203a4ba93fc25bf1eb49039a8ec4b260b446211 (diff)
downloadhqemu-d9f7e29ee5a6915caa049ba64c0a9f28766351d2.zip
hqemu-d9f7e29ee5a6915caa049ba64c0a9f28766351d2.tar.gz
qemu-config: Accept empty option values
Currently it is impossible to set an option in a config file to an empty string, because the parser matches only lines containing non-empty strings between double-quotes. As sscanf() "[" conversion specifier only matches non-empty strings, add a special case for empty strings. Reviewed-by: Eric Blake <eblake@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target-i386')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud