[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC 0/9] QOM: qomify -netdev
From: |
zwu . kernel |
Subject: |
[Qemu-devel] [RFC 0/9] QOM: qomify -netdev |
Date: |
Mon, 26 Mar 2012 13:40:12 +0800 |
From: Zhi Yong Wu <address@hidden>
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
--
1.7.6
- [Qemu-devel] [RFC 0/9] QOM: qomify -netdev,
zwu . kernel <=
- [Qemu-devel] [RFC 1/9] hostdev: introduce the infrastructure for host device model, zwu . kernel, 2012/03/26
- Re: [Qemu-devel] [RFC 1/9] hostdev: introduce the infrastructure for host device model, Zhi Yong Wu, 2012/03/26
- Re: [Qemu-devel] [RFC 1/9] hostdev: introduce the infrastructure for host device model, Paolo Bonzini, 2012/03/27
- Re: [Qemu-devel] [RFC 1/9] hostdev: introduce the infrastructure for host device model, Zhi Yong Wu, 2012/03/27
- Re: [Qemu-devel] [RFC 1/9] hostdev: introduce the infrastructure for host device model, Paolo Bonzini, 2012/03/27
- Re: [Qemu-devel] [RFC 1/9] hostdev: introduce the infrastructure for host device model, Zhi Yong Wu, 2012/03/27
- Re: [Qemu-devel] [RFC 1/9] hostdev: introduce the infrastructure for host device model, Paolo Bonzini, 2012/03/27
- Re: [Qemu-devel] [RFC 1/9] hostdev: introduce the infrastructure for host device model, Zhi Yong Wu, 2012/03/27
- Re: [Qemu-devel] [RFC 1/9] hostdev: introduce the infrastructure for host device model, Paolo Bonzini, 2012/03/27
- Re: [Qemu-devel] [RFC 1/9] hostdev: introduce the infrastructure for host device model, Zhi Yong Wu, 2012/03/27