]> git.proxmox.com Git - qemu.git/commit - include/hw/virtio/virtio-net.h
qemu:virtio-net: Add promiscuous and all-multicast mode bits (Alex Williamson)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 5 Feb 2009 22:36:20 +0000 (22:36 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 5 Feb 2009 22:36:20 +0000 (22:36 +0000)
commit002437cd42a84261fed26b2d0c3feae0e0c9b241
tree419c753e67da89f8d52626ac09463f5b42a7a446
parent3d11d36c7fef499128c4194cea7c58d0f7af82ec
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
this until we also add the MAC filter table.

Note, for compatibility with older guest drivers we need to default
to promiscuous.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6537 c046a42c-6fe2-441c-8c8c-71466251a162
hw/virtio-net.c
hw/virtio-net.h