Revision 32059220 hw/virtio-pci.c

b/hw/virtio-pci.c
789 789
{
790 790
    VirtIOPCIProxy *proxy = DO_UPCAST(VirtIOPCIProxy, pci_dev, pci_dev);
791 791

  
792
    virtio_pci_stop_ioeventfd(proxy);
792 793
    virtio_serial_exit(proxy->vdev);
793 794
    return virtio_exit_pci(pci_dev);
794 795
}
......
898 899
        .init      = virtio_serial_init_pci,
899 900
        .exit      = virtio_serial_exit_pci,
900 901
        .qdev.props = (Property[]) {
902
            DEFINE_PROP_BIT("ioeventfd", VirtIOPCIProxy, flags,
903
                            VIRTIO_PCI_FLAG_USE_IOEVENTFD_BIT, true),
901 904
            DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors,
902 905
                               DEV_NVECTORS_UNSPECIFIED),
903 906
            DEFINE_PROP_HEX32("class", VirtIOPCIProxy, class_code, 0),

Also available in: Unified diff