diff options
Diffstat (limited to 'hw/virtio-net.c')
-rw-r--r-- | hw/virtio-net.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/virtio-net.c b/hw/virtio-net.c index 54c0030eb3..b13914a629 100644 --- a/hw/virtio-net.c +++ b/hw/virtio-net.c @@ -320,7 +320,9 @@ void virtio_net_init(PCIBus *bus, NICInfo *nd, int devfn) VirtIONet *n; static int virtio_net_id; - n = (VirtIONet *)virtio_init_pci(bus, "virtio-net", 6900, 0x1000, + n = (VirtIONet *)virtio_init_pci(bus, "virtio-net", + PCI_VENDOR_ID_REDHAT_QUMRANET, + PCI_DEVICE_ID_VIRTIO_NET, 0, VIRTIO_ID_NET, 0x02, 0x00, 0x00, sizeof(struct virtio_net_config), |