diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-01-11 13:17:04 +0000 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:28:25 -0600 |
commit | bd1d811578c31898b21ad50ab344e865c0502510 (patch) | |
tree | cd4295877690b18e1287991ce805bfad531d07b4 /include/qemu | |
parent | 301990a0b0edbd9ee085605db0af6ab2432a9844 (diff) | |
download | hqemu-bd1d811578c31898b21ad50ab344e865c0502510.zip hqemu-bd1d811578c31898b21ad50ab344e865c0502510.tar.gz |
sockets: remove use of QemuOpts from socket_dgram
The socket_dgram method accepts a QAPI SocketAddress object
which it then turns into QemuOpts before calling the
inet_dgram_opts helper method. By converting the latter to
use QAPI SocketAddress directly, the QemuOpts conversion
step can be eliminated.
This removes the very last use of QemuOpts from the
sockets code, so the socket_optslist[] array is also
removed.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1452518225-11751-5-git-send-email-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/qemu')
-rw-r--r-- | include/qemu/sockets.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/qemu/sockets.h b/include/qemu/sockets.h index 7286f16..cde2f5e 100644 --- a/include/qemu/sockets.h +++ b/include/qemu/sockets.h @@ -26,7 +26,6 @@ int inet_aton(const char *cp, struct in_addr *ia); #endif /* !_WIN32 */ -#include "qemu/option.h" #include "qapi/error.h" #include "qapi-types.h" |