Statistics
| Branch: | Revision:

root / hw / virtio-net.h @ 6663a195

History | View | Annotate | Download (7 kB)

# Date Author Comment
c9f79a3f 01/12/2010 10:32 pm Michael S. Tsirkin

virtio-net: mac property is mandatory

Mac feature bit isn't going to work as all network cards already have a
'mac' property to set the mac address. Remove it from mask and add in
get_features.

Reported-by: Gerd Hoffmann <>
Signed-off-by: Michael S. Tsirkin <>...

8172539d 01/11/2010 09:40 pm Michael S. Tsirkin

virtio: add features as qdev properties

Add feature bits as properties to virtio. This makes it possible to e.g. define
machine without indirect buffer support, which is required for 0.10
compatibility, or without hardware checksum support, which is required for 0.11...

015cb166 06/09/2009 01:38 pm Alex Williamson

virtio-net: Add new RX filter controls

Add a few new RX modes to better control the receive_filter. These
are all fairly obvious features that hardware could provide.

Signed-off-by: Alex Williamson <>
Signed-off-by: Mark McLoughlin <>

cf21e106 05/15/2009 12:35 am Paul Brook

Virtio-net qdev conversion

Signed-off-by: Paul Brook <>

72da4208 02/11/2009 05:19 pm aliguori

qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti)

Change the PCI network drivers init functions to return the PCIDev, to
inform which slot has been hot-plugged.

Also record PCIDevice structure on NICInfo to locate for release on...

f21c0ed9 02/06/2009 12:36 am aliguori

qemu:virtio-net: Add VLAN filtering (Alex Williamson)

Use the control virtqueue to allow the guest to enable and manipulate
a VLAN filter table. This allows us to drop more packets the guest
doesn't want to see. We define a new VLAN class for the control...

b6503ed9 02/06/2009 12:36 am aliguori

qemu:virtio-net: Add additional MACs via a filter table (Alex Williamson)

Create a filter table and allow the guest to populate it with the
MAC class control commands. We manage the size and usage of the
filter table including enabling promiscuous and all-multi modes...

002437cd 02/06/2009 12:36 am aliguori

qemu:virtio-net: Add promiscuous and all-multicast mode bits (Alex Williamson)

Add a new RX_MODE control virtqueue class with commands PROMISC and
ALLMULTI and usage documented in virtio-net.h allowing the guest to
manipulate packet receiving options. We don't export a feature for...

3d11d36c 02/06/2009 12:36 am aliguori

qemu:virtio-net: Add a virtqueue for control commands from the guest (Alex Williamson)

This will be used for RX mode, MAC table, VLAN table control, etc...

The control transaction consists of one or more "out" sg entries and
one or more "in" sg entries. The first out entry contains a header...

79674068 02/06/2009 12:36 am aliguori

qemu:virtio-net: Define ETH_ALEN for use when manipulating MAC addresses (Alex Williamson)

Makes it much easier to search too.

Signed-off-by: Alex Williamson <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6535 c046a42c-6fe2-441c-8c8c-71466251a162

291c6ff9 01/13/2009 11:09 pm aliguori

Make virtio_net_init() return void (Mark McLoughlin)

All PCI NIC init functions return void and nothing uses the
return value from virtio_net_init().

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>...

554c97dd 01/08/2009 09:46 pm aliguori

Implement virtio_net link status (Mark McLoughlin)

Implement the VIRTIO_NET_F_STATUS feature by exposing the link status
through virtio_net_config::status.

Signed-off-by: Mark McLoughlin <>
Signed-off-by: Anthony Liguori <>...

fbe78f4f 12/17/2008 09:13 pm aliguori

virtio-net support

This adds virtio-net support. This is based on the virtio-net driver
that exists in kvm-userspace. This also adds a new qemu_sendv_packet
which virtio-net requires.

Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6073 c046a42c-6fe2-441c-8c8c-71466251a162