On 20/03/20 09:32, Gerd Hoffmann wrote: > Hmm, seems we should have that for better regression testing. > master branch doesn't build with pc+q35+isapc turned off: > > LINK x86_64-softmmu/qemu-system-x86_64 > hw/virtio/virtio-iommu.o: In function `virtio_iommu_get_bdf': > /home/kraxel/projects/qemu/hw/virtio/virtio-iommu.c:66: undefined reference > to `pci_bus_num' > hw/virtio/virtio-iommu.o: In function `iommu_find_iommu_pcibus': > /home/kraxel/projects/qemu/hw/virtio/virtio-iommu.c:84: undefined reference > to `pci_bus_num' > hw/virtio/virtio-iommu.o: In function `virtio_iommu_device_realize': > /home/kraxel/projects/qemu/hw/virtio/virtio-iommu.c:685: undefined reference > to `pci_setup_iommu' > collect2: error: ld returned 1 exit status
You need to disable virtio-iommu for now, or apply the patch I've just sent and CC you on. Paolo