qemu-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]