On 02/19/13 03:25, liguang wrote: > if some devices specify a pci bus number that > haven't been defined by a pci-bridge controller > then fill the required correct controller info > silently. > > Acked-by: Daniel P. Berrange <berrange@xxxxxxxxxx> > Signed-off-by: liguang <lig.fnst@xxxxxxxxxxxxxx> > --- This will only add bridges for the explictly mentioned buses, which would mean we could have buses 0 and 6 with no buses between them. Maybe we should add them the way we add disk controllers - find the highest index and add all bridges with indexes from 1 to max. It would be nice if we could add pci bridges even when there weren't any specified in the XML, but there are too many PCI devices. I don't know what would be the nicest way to do that. Maybe Peter's patches for config parser defaults will be helpful: https://www.redhat.com/archives/libvir-list/2013-March/msg00042.html Jan -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list