Re: [Qemu-block] [PATCH 0/7] sockets: Flatten SocketAddress except in external interfaces

2017-04-28 Thread Markus Armbruster
Markus Armbruster writes: > 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. Flatten it as follows: rename > SocketAddress to

[Qemu-block] [PATCH 0/7] sockets: Flatten SocketAddress except in external interfaces

2017-04-26 Thread Markus Armbruster
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. Flatten it as follows: rename SocketAddress to SocketAddressLegacy, rename its flat sibling SocketAddressFlat to