RFC QOM: qomify -netdev
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest9 patches 25 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | hostdev: introduce the infrastructure for host device modelinclude/ qom/ qom/ | +462 | 16 replies | |
| 2/9 | net: introduce one net host device classnet.c net.h | +62 | 2 replies | |
| 3/9 | net: adjust net common part for qomify -netdevnet.c net.h vl.c | +109 | 0 replies | |
| 4/9 | net: adjust nic init APInet.c | +6 | 0 replies | |
| 5/9 | net: adjust dump init APInet/ net/ | +7 | 0 replies | |
| 6/9 | net: qomify -netdev usernet/ net/ | +41 | 0 replies | |
| 7/9 | net: qomify -netdev socketnet/ net/ | +36 | 0 replies | |
| 8/9 | net: qomify -netdev vdenet/ net/ | +34 | 0 replies | |
| 9/9 | net: qomify -netdev tap & -netdev bridgenet/ net/ | +64 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [RFC 0/9] QOM: qomify -netdev
From: Zhi Yong Wu <[email protected]>
Sending the patchset is mainly intended to get some comments and void the wrong development direction.
The patchset is used to qomify -netdev, but it introduce one infrastructure for host devices based on raw Class and Object, not qdev. So they are not related with DeviceClass and DeviceState.
patch #1 introduce one new class and object for host devices.
patch #2 introduce one net host device class and object.
Note: the code changes still have some issues, but it doesn't affect that we talk with its infrastructure.
Zhi Yong Wu (9):
hostdev: introduce the infrastructure for host device model
net: introduce one net host device class
net: adjust net common part for qomify -netdev
net: adjust nic init API
net: adjust dump init API
net: qomify -netdev user
net: qomify -netdev socket
net: qomify -netdev vde
net: qomify -netdev tap & -netdev bridge
include/qemu/hostdev.h | 128 ++++++++++++++++++ net.c | 153 +++++++++++++++++++++-- net.h | 28 ++++ net/dump.c | 8 +- net/dump.h | 3 +- net/slirp.c | 42 ++++++- net/slirp.h | 7 +- net/socket.c | 38 +++++- net/socket.h | 4 +- net/tap.c | 64 +++++++++- net/tap.h | 8 +- net/vde.c | 34 +++++- net/vde.h | 4 +- qom/Makefile | 2 +- qom/hostdev.c | 333 ++++++++++++++++++++++++++++++++++++++++++++++++ vl.c | 12 +- 16 files changed, 821 insertions(+), 47 deletions(-) create mode 100644 include/qemu/hostdev.h create mode 100644 qom/hostdev.c
Signature · 1 line
1.7.6