]> git.proxmox.com Git - qemu.git/commit - include/hw/virtio/virtio-net.h
qemu:virtio-net: Add a virtqueue for control commands from the guest (Alex Williamson)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 5 Feb 2009 22:36:16 +0000 (22:36 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 5 Feb 2009 22:36:16 +0000 (22:36 +0000)
commit3d11d36c7fef499128c4194cea7c58d0f7af82ec
tree7044b25685fa0a2ce52ddcdce296f851e897b1ce
parent7967406801aa897fae83caad3278ac85a342adaa
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
defining the class and command.  Additional out entries may provide
data for the command.  A response via the ack entry is required
and the guest will typically be waiting for it.

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@6536 c046a42c-6fe2-441c-8c8c-71466251a162
hw/virtio-net.c
hw/virtio-net.h