* Gleb Natapov (gleb@xxxxxxxxxx) wrote: > --- a/qemu/hw/pci.c > +++ b/qemu/hw/pci.c > @@ -213,7 +213,7 @@ static void pci_unregister_io_regions(PCIDevice *pci_dev) > > for(i = 0; i < PCI_NUM_REGIONS; i++) { > r = &pci_dev->io_regions[i]; > - if (!r->size) > + if (!r->size || r->addr == -1) > continue; Without this patch the error path for device assignment will segfault (trying to unregister addr -1). Please consider for maint/2.6.29. thanks, -chris -- 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