summaryrefslogtreecommitdiff
path: root/hw/display/vga-helpers.h
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2018-01-25 17:14:12 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2018-02-05 18:09:45 +0100
commit3e32370a96d2ad82839d97e7e622bca793de8af5 (patch)
tree43e1bbe40dff5cc486c11aa78e8ab06e7b2480d7 /hw/display/vga-helpers.h
parentb1cef6d02f84bd842fb94a6109ad4e2ad873e8e5 (diff)
downloadqemu-3e32370a96d2ad82839d97e7e622bca793de8af5.zip
sockets: fix parsing of ipv4/ipv6 opts in parse_socket_addr
The inet_parse() function looks for 'ipv4' and 'ipv6' flags, but only treats them as bare bool flags. The normal QemuOpts parsing would allow on/off values to be set too. This updates inet_parse() so that its handling of the 'ipv4' and 'ipv6' flags matches that done by QemuOpts. This impacts the NBD block driver parsing the legacy filename syntax and the migration code parsing the socket scheme. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <20180125171412.21627-1-berrange@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/display/vga-helpers.h')
0 files changed, 0 insertions, 0 deletions