Fix announce_self(), misc net fixes and cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest44 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/44 | net: move slirp code from net.c to net/slirp.cMakefile monitor.c net.c +4 more | +814 | 0 replies | |
| 2/44 | net: move vde code from net.c to net/vde.cMakefile net.c net/ +1 more | +162 | 0 replies | |
| 3/44 | net: move socket backend code from net.c to net/socket.cMakefile net.c net/ +1 more | +596 | 0 replies | |
| 4/44 | net: move dump backend code from net.c to net/dump.cMakefile net.c net/ +1 more | +186 | 0 replies | |
| 5/44 | net: clean up includes in net.cnet.c | +3 | 0 replies | |
| 6/44 | net: remove NICInfo::vchw/ hw/ hw/ +3 more | +27 | 0 replies | |
| 7/44 | net: remove NICInfo::privatenet.h | +0 | 0 replies | |
| 8/44 | net: introduce NetClientInfonet.h | +11 | 0 replies | |
| 9/44 | net: introduce qemu_new_net_client()net.c net.h | +54 | 2 replies | |
| 10/44 | qdev: move DO_UPCAST() into osdep.hhw/ osdep.h | +10 | 0 replies | |
| 11/44 | net: convert tap to NetClientInfonet/ | +45 | 0 replies | |
| 12/44 | net: convert tap-win32 to NetClientInfonet/ | +23 | 0 replies | |
| 13/44 | net: convert slirp to NetClientInfonet/ | +37 | 0 replies | |
| 14/44 | net: convert vde to NetClientInfonet/ | +28 | 0 replies | |
| 15/44 | net: convert socket to NetClientInfonet/ | +45 | 0 replies | |
| 16/44 | net: convert dump to NetClientInfonet/ | +27 | 0 replies | |
| 17/44 | net: introduce NICState and qemu_new_nic()net.c net.h | +32 | 0 replies | |
| 18/44 | net: convert virtio to NICStatehw/ | +39 | 0 replies | |
| 19/44 | net: convert e1000 to NICStatehw/ | +26 | 0 replies | |
| 20/44 | net: convert rtl8139 to NICStatehw/ | +24 | 0 replies | |
| 21/44 | net: convert ne2000 to NICStatehw/ hw/ hw/ | +36 | 0 replies | |
| 22/44 | net: convert pcnet to NICStatehw/ hw/ hw/ | +38 | 0 replies | |
| 23/44 | net: convert eepro100 to NICStatehw/ | +24 | 0 replies | |
| 24/44 | net: convert dp8393x to NICStatehw/ | +25 | 0 replies | |
| 25/44 | net: convert etrax to NICStatehw/ | +27 | 0 replies | |
| 26/44 | net: convert LAN9118 to NICStatehw/ | +25 | 0 replies | |
| 27/44 | net: convert mcf_fec to NICStatehw/ | +33 | 0 replies | |
| 28/44 | net: convert mipsnet to NICStatehw/ | +27 | 0 replies | |
| 29/44 | net: convert musicpal to NICStatehw/ | +18 | 0 replies | |
| 30/44 | net: convert smc91c111 to NICStatehw/ | +20 | 0 replies | |
| 31/44 | net: convert stellaris to NICStatehw/ | +19 | 0 replies | |
| 32/44 | net: convert usb-net to NICStatehw/ | +31 | 0 replies | |
| 33/44 | net: convert xilinx_ethlite to NICStatehw/ | +20 | 0 replies | |
| 34/44 | net: move parse_macaddr() to net/util.[ch]Makefile net.c net/ +1 more | +95 | 0 replies | |
| 35/44 | net: convert xen to NICStatehw/ | +29 | 0 replies | |
| 36/44 | net: remove qemu_new_vlan_client()net.c net.h | +0 | 0 replies | |
| 37/44 | net: remove VLANClientState members now in NetClientInfohw/ hw/ net.c +2 more | +27 | 0 replies | |
| 38/44 | net: add qemu_foreach_nic()net.c net.h | +22 | 0 replies | |
| 39/44 | net: fix qemu_announce_self()savevm.c | +13 | 0 replies | |
| 40/44 | net: print correct error for '-netdev ""'net.c | +11 | 0 replies | |
| 41/44 | net: fix TAP networking on host kernels without IFF_VNET_HDR supportnet/ | +2 | 0 replies | |
| 42/44 | net: check for TUNSETOFFLOAD support before trying to enable offload featuresnet/ | +5 | 0 replies | |
| 43/44 | net: initialize vnet_hdr in net_init_tap()net/ | +1 | 0 replies | |
| 44/44 | net: fix vnet_hdr handling in solaris tap codenet/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 00/44] Fix announce_self(), misc net fixes and cleanups
Hi,
Here's a new series of patches mainly to fix qemu_announce_self()
with -netdev as discussed earlier on the list.
I would have liked to have split the series in three, but there
would be conflicts between each, so here goes:
1) Patches 01 to 05 - net.c cleanups
These patches continue the job of moving net backends from net.c to individual files in the net/ directory
2) Patches 06 to 39 - fix qemu_annonuce_self()
The basic issue is that we need a sane way of iterating all the NICs on the system, obtaining the MAC address for each and inject a packet from each.
The series splits out the per-device-type data from VLANClientState into a new structure called NetClientInfo. It further allows devices to inherit from VLANClientState and introduces a NICState struct and qemu_new_nic() constructor for NICs.
That's a huge amount of churn just to fix qemu_announce_self(), but I think the end result is a very nice cleanup to the net API.
3) Patches 40 to 44 - misc fixes
Some small misc networking fixes, including the two posted by Pierre Riteau earlier.
I've given all this quite a bit of compile and runtime testing
and it seems in good shape.
Thanks,
Mark.