On Wed, Aug 17, 2016 at 04:26:54PM +0200, Andrew Jones wrote: > And now for bad news. I imported your branch and tested it. It works > great over TCG, but hits the "No PCI resource found for a device" > assert when running with KVM on an AArch64 server. I've only tried on > a mustang so far. Unlike TCG, KVM on an AArch64 reports pci-testdev's BAR #4 value of 0xC. It denotes to 64 bit prefetch memory, which is absent. What is more, BAR #4 is not implemented in pci-testdev. Only two BARs are expected (qemu hw/misc/pci-testdev.c): pci_register_bar(pci_dev, 0, PCI_BASE_ADDRESS_SPACE_MEMORY, &d->mmio); pci_register_bar(pci_dev, 1, PCI_BASE_ADDRESS_SPACE_IO, &d->portio); So the assert sounds about right and the question is why BAR #4 is there. > Thanks, > drew -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html