diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-04-08 14:57:31 -0300 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2015-04-27 15:38:13 -0300 |
commit | d9f7e29ee5a6915caa049ba64c0a9f28766351d2 (patch) | |
tree | 04d2fc9f31ae039ee9e8d942c990b001adc66610 /target-i386 | |
parent | b203a4ba93fc25bf1eb49039a8ec4b260b446211 (diff) |
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