diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/virtio-pci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c index 0b1cea9456..5c976296e3 100644 --- a/hw/virtio-pci.c +++ b/hw/virtio-pci.c @@ -373,8 +373,7 @@ static void virtio_write_config(PCIDevice *pci_dev, uint32_t address, } pci_default_write_config(pci_dev, address, val, len); - if(proxy->vdev->nvectors) - msix_write_config(pci_dev, address, val, len); + msix_write_config(pci_dev, address, val, len); } static const VirtIOBindings virtio_pci_bindings = { |