[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 2/7] qdev: add "net-client" property
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] Re: [PATCH 2/7] qdev: add "net-client" property |
Date: |
Mon, 16 Nov 2009 10:03:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 |
On 11/12/09 21:28, Mark McLoughlin wrote:
Rather than having each NIC create it's own client, let's create the
client early and pass it down to the NIC.
'-device $nic,net-client=$name' doesn't work ...
One advantage is that we can add parameters which only the client
knows about, without having the NIC know anything about it - e.g. NICs
shouldn't know about netdev vs. vlan.
What this is needed for?
Another advantage is that we can easily get the client associated with
a qdev.
Looks like this is the *real* reason ...
cheers,
Gerd
- [Qemu-devel] [PATCH 5/7] qdev: add qdev_foreach(), (continued)
- [Qemu-devel] [PATCH 6/7] qdev: add qdev_prop_get_{macaddr, net_client}(), Mark McLoughlin, 2009/11/12
- [Qemu-devel] [PATCH 1/7] net: remove NICInfo::vc, Mark McLoughlin, 2009/11/12
- [Qemu-devel] [PATCH 7/7] net: fix qemu_announce_self(), Mark McLoughlin, 2009/11/12
- [Qemu-devel] [PATCH 2/7] qdev: add "net-client" property, Mark McLoughlin, 2009/11/12
- [Qemu-devel] Re: [PATCH 2/7] qdev: add "net-client" property,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 3/7] net: create the VLANClientState for NICs early, Mark McLoughlin, 2009/11/12
- [Qemu-devel] [PATCH 4/7] net: kill off NICInfo/NICConf::vlan/netdev, Mark McLoughlin, 2009/11/12