diff options
author | Wen Congyang <wency@cn.fujitsu.com> | 2015-07-15 17:20:59 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-07-20 14:19:42 +0300 |
commit | f9d6dbf0bf6e91b8ed896369ab1b7e91e5a1a4df (patch) | |
tree | 85b1a129c051c49d9170923a4adb59c85e5e213a /hw/net/ne2000-isa.c | |
parent | 38705bb57bf1cd9e3f837cf11bcdee3876786c07 (diff) | |
download | hqemu-f9d6dbf0bf6e91b8ed896369ab1b7e91e5a1a4df.zip hqemu-f9d6dbf0bf6e91b8ed896369ab1b7e91e5a1a4df.tar.gz |
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>
Diffstat (limited to 'hw/net/ne2000-isa.c')
0 files changed, 0 insertions, 0 deletions