Searched hist:d9f7e29ee5a6915caa049ba64c0a9f28766351d2 (Results 1 – 1 of 1) sorted by relevance
/qemu/util/ |
H A D | qemu-config.c | d9f7e29ee5a6915caa049ba64c0a9f28766351d2 Wed Apr 08 17:57:31 UTC 2015 Eduardo Habkost <ehabkost@redhat.com> 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>
|