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