]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
virtio-net: separate virtqueue from VirtIONet
authorJason Wang <jasowang@redhat.com>
Wed, 30 Jan 2013 11:12:38 +0000 (19:12 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 Feb 2013 17:03:03 +0000 (11:03 -0600)
commit0c87e93e3102f0c717f58ed90858e6b410fd4e04
tree9c98aabe70900f6cb1eda3f1afd57b3ad4b890e3
parente78a2b4285f6cc125dc7a514bebef97d9af1d812
virtio-net: separate virtqueue from VirtIONet

To support multiqueue virtio-net, the first step is to separate the virtqueue
related fields from VirtIONet to a new structure VirtIONetQueue. The following
patches will add an array of VirtIONetQueue to VirtIONet based on this patch.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-net.c