Revision 3709c1b7

b/hw/pci.c
609 609
            if (!bus->devices[devfn])
610 610
                goto found;
611 611
        }
612
        error_report("PCI: no devfn available for %s, all in use", name);
612
        error_report("PCI: no slot/function available for %s, all in use", name);
613 613
        return NULL;
614 614
    found: ;
615 615
    } else if (bus->devices[devfn]) {
616
        error_report("PCI: devfn %d not available for %s, in use by %s",
617
                     devfn, name, bus->devices[devfn]->name);
616
        error_report("PCI: slot %d function %d not available for %s, in use by %s",
617
                     PCI_SLOT(devfn), PCI_FUNC(devfn), name, bus->devices[devfn]->name);
618 618
        return NULL;
619 619
    }
620 620
    pci_dev->bus = bus;

Also available in: Unified diff