sockets: Flatten SocketAddress except in external interfaces
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | sockets: Prepare vsock_parse() for flattened SocketAddressutil/ | +10 | 1 reply | |
| 2/7 | sockets: Prepare inet_parse() for flattened SocketAddressblock/ include/ migration/ +2 more | +22 | 1 reply | |
| 3/7 | qapi: New QAPI_CLONE_MEMBERS()include/ qapi/ | +27 | 1 reply | |
| 4/7 | sockets: Rename SocketAddress to SocketAddressLegacyblock/ block/ blockdev-nbd.c +20 more | +311 | 1 reply | |
| 5/7 | sockets: Rename SocketAddressFlat to SocketAddressblock/ block/ block/ +4 more | +57 | 2 replies | |
| 6/7 | sockets: Limit SocketAddressLegacy except to external interfacesblock/ block/ blockdev-nbd.c +20 more | +434 | 3 replies | |
| 7/7 | socket: Delete unused helper socket_address_crumple()include/ util/ | +0 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake | Prasanna Kumar Kalever |
|---|---|---|
| 1/7 | R-b | |
| 2/7 | R-b | |
| 3/7 | R-b | |
| 4/7 | R-b | |
| 5/7 | R-b | R-b |
| 6/7 | R-b | |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/7] sockets: Flatten SocketAddress except in external interfaces
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 SocketAddress, convert all users of SocketAddressLegacy to SocketAddress, except for existing external interfaces. This completes the work outlined in commit 9445673.
Markus Armbruster (7):
sockets: Prepare vsock_parse() for flattened SocketAddress
sockets: Prepare inet_parse() for flattened SocketAddress
qapi: New QAPI_CLONE_MEMBERS()
sockets: Rename SocketAddress to SocketAddressLegacy
sockets: Rename SocketAddressFlat to SocketAddress
sockets: Limit SocketAddressLegacy except to external interfaces
socket: Delete unused helper socket_address_crumple()
block/gluster.c | 48 +++++------ block/nbd.c | 36 ++++----- block/sheepdog.c | 20 ++--- blockdev-nbd.c | 21 +++-- chardev/char-socket.c | 42 +++++----- chardev/char-udp.c | 20 +++-- hmp.c | 3 +- include/block/nbd.h | 3 + include/io/channel-socket.h | 4 +- include/qapi/clone-visitor.h | 14 ++++ include/qemu/sockets.h | 18 ++--- io/dns-resolver.c | 17 ++-- migration/rdma.c | 4 +- migration/socket.c | 20 +++-- qapi-schema.json | 36 +++++---- qapi/block-core.json | 6 +- qapi/block.json | 2 +- qapi/qapi-clone-visitor.c | 13 +++ qemu-nbd.c | 9 +-- qga/main.c | 4 +- tests/test-io-channel-socket.c | 52 +++++------- ui/vnc-auth-sasl.c | 5 +- ui/vnc.c | 68 ++++++++-------- util/qemu-sockets.c | 177 +++++++++++++++++++---------------------- 24 files changed, 328 insertions(+), 314 deletions(-)
Signature · 1 line
2.7.4