summary refs log tree commit diff stats
path: root/hw/misc/applesmc.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2013-04-25 15:24:23 +0800
committerAnthony Liguori <aliguori@us.ibm.com>2013-04-29 08:27:15 -0500
commitec57db1630f9cdcd13c8c55acbc8daf5237aabf1 (patch)
tree05e61899f3c7caf515050fcd8e5cad9507fcb0e6 /hw/misc/applesmc.c
parentb48df71c916478ff658d143d0742e85c78348fad (diff)
downloadfocaccia-qemu-ec57db1630f9cdcd13c8c55acbc8daf5237aabf1.tar.gz
focaccia-qemu-ec57db1630f9cdcd13c8c55acbc8daf5237aabf1.zip
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 <aurelien@aurel32.net>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-id: 1366874663-2566-1-git-send-email-jasowang@redhat.com
Cc: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/misc/applesmc.c')
0 files changed, 0 insertions, 0 deletions