diff options
author | Daniel P. Berrangé | 2019-02-11 19:24:32 +0100 |
---|---|---|
committer | Marc-André Lureau | 2019-02-12 17:35:56 +0100 |
commit | 5981c3a2326a1eb758bd6b950c1471e19f77d3f0 (patch) | |
tree | 77655ce7d986abae2490bc47f33dbf695b1de6c4 /tests/test-bitops.c | |
parent | chardev: forbid 'wait' option with client sockets (diff) | |
download | qemu-5981c3a2326a1eb758bd6b950c1471e19f77d3f0.tar.gz qemu-5981c3a2326a1eb758bd6b950c1471e19f77d3f0.tar.xz qemu-5981c3a2326a1eb758bd6b950c1471e19f77d3f0.zip |
chardev: remove many local variables in qemu_chr_parse_socket
Now that all validation is separated off into a separate method,
we can directly populate the ChardevSocket struct from the
QemuOpts values, avoiding many local variables.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20190211182442.8542-7-berrange@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'tests/test-bitops.c')
0 files changed, 0 insertions, 0 deletions