diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-01-11 13:17:04 +0000 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-01-19 15:41:01 +0100 |
commit | 8b39910e631ff055b90ed50c98f5a5948b0550ed (patch) | |
tree | 641dbbfc27970131ed78b2ca23dfd3516aa60db5 /include | |
parent | 2942e420e06bd6370756ef0f4722dcf8f4c74659 (diff) |
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')
-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 7286f162db..cde2f5e0d6 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" |