Message ID | 153133896639.31530.10135934557052494909.stgit@w520.home |
---|---|
State | New |
Headers | show |
Series | [PULL,1/1] vfio/pci: do not set the PCIDevice 'has_rom' attribute | expand |
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index a1577dea7fdb..6cbb8fa0549d 100644 --- a/hw/vfio/pci.c +++ b/hw/vfio/pci.c @@ -990,7 +990,6 @@ static void vfio_pci_size_rom(VFIOPCIDevice *vdev) pci_register_bar(&vdev->pdev, PCI_ROM_SLOT, PCI_BASE_ADDRESS_SPACE_MEMORY, &vdev->pdev.rom); - vdev->pdev.has_rom = true; vdev->rom_read_failed = false; }