diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-01-22 23:44:44 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-01-30 01:31:09 +0200 |
commit | 921ac5d0f3a0df869db5ce4edf752f51d8b1596a (patch) | |
tree | 30295f501eac391ac28dc914bc7f2080fc1753c8 /QMP | |
parent | 41dc8a67c7dcecdf7ae1cd25db3c46f2b42a221f (diff) |
virtio-net: remove layout assumptions for ctrl vq
Virtio-net code makes assumption about virtqueue descriptor layout
(e.g. sg[0] is the header, sg[1] is the data buffer).
This patch makes code not rely on the layout of descriptors.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Amos Kong <akong@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'QMP')
0 files changed, 0 insertions, 0 deletions