Re: [Qemu-devel] [PATCH v3 for-2.4] virtio-net: remove virtio queues if the guest doesn't support multiqueue

2015-07-15 Thread Jason Wang
On 07/15/2015 05:20 PM, Wen Congyang wrote: 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 we...@cn.fujitsu.com --- Acked-by:

[Qemu-devel] [PATCH v3 for-2.4] virtio-net: remove virtio queues if the guest doesn't support multiqueue

2015-07-15 Thread Wen Congyang
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 we...@cn.fujitsu.com --- hw/net/virtio-net.c | 110