commit | ebef2c093e47103464cd459d811803692c7315e6 | [log] [tgz] |
---|---|---|
author | Mark McLoughlin <markmc@redhat.com> | Wed Nov 25 18:49:10 2009 +0000 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Thu Dec 03 09:41:30 2009 -0600 |
tree | 28f9b764654e6605e1c23465dfcdfd8ddff4d8a0 | |
parent | 731d5856cbb9c160fe02b90cd3cf354ea4f52f34 [diff] |
net: introduce NICState and qemu_new_nic() Common state for all NICs. The opaque member will replace the opaque member in VLANClientState since only NICs need it. The conf member will allow us to iterate over NICs, access the MAC addr for the NIC and send a packet from each NIC in qemu_announce_self(). Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>