On 03/30/2017 12:43 PM, Markus Armbruster wrote: > SocketAddress is a simple union, and simple unions are awkward: they > have their variant members wrapped in a "data" object on the wire, and > require additional indirections in C. I intend to limit its use to > existing external interfaces. New ones should use SocketAddressFlat. > I further intend to convert all internal interfaces to > SocketAddressFlat. This helper should go away then. > > Signed-off-by: Markus Armbruster > --- > include/qemu/sockets.h | 11 +++++++++++ > util/qemu-sockets.c | 32 ++++++++++++++++++++++++++++++++ > 2 files changed, 43 insertions(+) > Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org