Revision d3674c57 hw/virtio.c

b/hw/virtio.c
787 787
    vdev->queue_sel = 0;
788 788
    vdev->config_vector = VIRTIO_NO_VECTOR;
789 789
    vdev->vq = qemu_mallocz(sizeof(VirtQueue) * VIRTIO_PCI_QUEUE_MAX);
790
    vdev->vm_running = vm_running;
790 791
    for(i = 0; i < VIRTIO_PCI_QUEUE_MAX; i++) {
791 792
        vdev->vq[i].vector = VIRTIO_NO_VECTOR;
792 793
        vdev->vq[i].vdev = vdev;

Also available in: Unified diff