[PATCH v2 0/8] qemu:virtio-net: Add MAC and VLAN filtering

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series adds the ability for the guest to set the virtio-net device
MAC address, a new control virtqueue for setting configuration data from
the guest, and new interfaces making use of the control virtqueue for
setting RX mode options, MAC filter table entries, and VLAN filter bits.
The end result is that the virtio-net device has more of the features of
a real hardware NIC and can be configured to drop packets the guest
isn't interested in seeing.

This version is based on revision 6501 of the qemu tree and matches v4
of the Linux guest virtio_net changes posted to the kvm and netdev
mailing lists.  The guest patch to support setting the MAC address
(via config write) is currently in Rusty's patch queue.  Note
that this series adds some infrastructure around the virtio-net save/load
functions and increments through a couple save revisions.  It would
probably be worthwile to synchronize virtio-net before applying this
since a qemu rev 2 save image does not currently match a kvm rev 2 save
image.  Thanks,

Alex

---

Alex Williamson (8):
      qemu:virtio-net: Add VLAN filtering
      qemu:virtio-net: Add additional MACs via a filter table
      qemu:virtio-net: Enable filtering based on MAC, promisc, broadcast and allmulti
      qemu:virtio-net: Add promiscuous and all-multicast mode bits
      qemu:virtio-net: Add a virtqueue for control commands from the guest
      qemu:virtio-net: Define ETH_ALEN for use when manipulating MAC addresses
      qemu:virtio-net: Allow setting the MAC address via set_config
      qemu:virtio-net: Save status and add some save infrastructure


 hw/virtio-net.c |  275 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
 hw/virtio-net.h |   67 +++++++++++++
 2 files changed, 332 insertions(+), 10 deletions(-)

-- 
Alex Williamson
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux