commit | f9d6dbf0bf6e91b8ed896369ab1b7e91e5a1a4df | [log] [tgz] |
---|---|---|
author | Wen Congyang <wency@cn.fujitsu.com> | Wed Jul 15 17:20:59 2015 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Mon Jul 20 14:19:42 2015 +0300 |
tree | 85b1a129c051c49d9170923a4adb59c85e5e213a | |
parent | 38705bb57bf1cd9e3f837cf11bcdee3876786c07 [diff] |
virtio-net: remove virtio queues if the guest doesn't support multiqueue commit da51a335 adds all queues in .realize(). But if the guest doesn't support multiqueue, we forget to remove them. And we cannot handle the ctrl vq corretly. The guest will hang. Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>