[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH v4 4/4] auto-create pci-bridge controller info

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 redhat com>
> Signed-off-by: liguang <lig fnst cn fujitsu com>
> ---

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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]