diff options
Diffstat (limited to 'hw/net')
-rw-r--r-- | hw/net/virtio-net.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c index 4d2cdd23d5..0a0d51609c 100644 --- a/hw/net/virtio-net.c +++ b/hw/net/virtio-net.c @@ -1283,15 +1283,6 @@ static int virtio_net_device_init(VirtIODevice *vdev) virtio_init(VIRTIO_DEVICE(n), "virtio-net", VIRTIO_ID_NET, n->config_size); - vdev->get_config = virtio_net_get_config; - vdev->set_config = virtio_net_set_config; - vdev->get_features = virtio_net_get_features; - vdev->set_features = virtio_net_set_features; - vdev->bad_features = virtio_net_bad_features; - vdev->reset = virtio_net_reset; - vdev->set_status = virtio_net_set_status; - vdev->guest_notifier_mask = virtio_net_guest_notifier_mask; - vdev->guest_notifier_pending = virtio_net_guest_notifier_pending; n->max_queues = MAX(n->nic_conf.queues, 1); n->vqs = g_malloc0(sizeof(VirtIONetQueue) * n->max_queues); n->vqs[0].rx_vq = virtio_add_queue(vdev, 256, virtio_net_handle_rx); |