summary refs log tree commit diff stats
path: root/hw/intc/omap_intc.c
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 /hw/intc/omap_intc.c
parentb203a4ba93fc25bf1eb49039a8ec4b260b446211 (diff)
downloadfocaccia-qemu-d9f7e29ee5a6915caa049ba64c0a9f28766351d2.tar.gz
focaccia-qemu-d9f7e29ee5a6915caa049ba64c0a9f28766351d2.zip
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 'hw/intc/omap_intc.c')
0 files changed, 0 insertions, 0 deletions