]> Git Repo - qemu.git/commit - hw/net/virtio-net.c
virtio-net: unbreak the minix guest
authorJason Wang <[email protected]>
Thu, 25 Apr 2013 07:24:23 +0000 (15:24 +0800)
committerAnthony Liguori <[email protected]>
Mon, 29 Apr 2013 13:27:15 +0000 (08:27 -0500)
commitec57db1630f9cdcd13c8c55acbc8daf5237aabf1
tree05e61899f3c7caf515050fcd8e5cad9507fcb0e6
parentb48df71c916478ff658d143d0742e85c78348fad
virtio-net: unbreak the minix guest

Multiqueue patchset conditionally add control vq only when guest negotiate the
feature. Though the spec is not clear on this but it breaks the minix guest
since it will identify the ctrl vq even if it does not support it. Though this
behavior seems a violation on the spec "If the VIRTIO_NET_F_CTRL_VQ feature bit
is negotiated, identify the control virtqueue.", to keep the backward
compatibility, always add the ctrl vq at end of the queues.

Reported-by: Aurelien Jarno <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Tested-by: Aurelien Jarno <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
Message-id: 1366874663[email protected]
Cc: Aurelien Jarno <[email protected]>
Signed-off-by: Jason Wang <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/net/virtio-net.c
This page took 0.028403 seconds and 4 git commands to generate.