Message ID | 20090621165104.GL10164@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/virtio-net.c b/hw/virtio-net.c index d584287..c8dabbe 100644 --- a/hw/virtio-net.c +++ b/hw/virtio-net.c @@ -709,6 +709,7 @@ VirtIODevice *virtio_net_init(DeviceState *dev) n->mac_table.macs = qemu_mallocz(MAC_TABLE_ENTRIES * ETH_ALEN); n->vlans = qemu_mallocz(MAX_VLAN >> 3); + n->vdev.nvectors = 3; register_savevm("virtio-net", virtio_net_id++, VIRTIO_NET_VM_VERSION, virtio_net_save, virtio_net_load, n);
Request up to 3 vectors in virtio-net. Actual bindings might supply less. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> --- hw/virtio-net.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)