virtio-net: adding all queues in .realize()
commitda51a335aa61ec0e45879d80f3c5e2ee4f87cd2f
authorJason Wang <jasowang@redhat.com>
Fri, 29 May 2015 06:15:24 +0000 (29 14:15 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 31 May 2015 14:40:48 +0000 (31 16:40 +0200)
tree490549897158cc790f87f643807bb58a8ee24c9a
parentcf34f533a161f8ced7322321d70ca00414d47473
virtio-net: adding all queues in .realize()

Instead of adding queues for multiqueue during feature set. This patch
did this in .realize(), this will help the following patches that
count the number of virtqueues used in .device_plugged() callback.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/net/virtio-net.c