libvirt need set QEMU_CAPS_PCI_MULTIBUS for PowerPC for QEMU>=2.0. if (qemuCaps->arch == VIR_ARCH_PPC || qemuCaps->arch == VIR_ARCH_PPC64) virQEMUCapsSet(qemuCaps, QEMU_CAPS_PCI_MULTIBUS);
But for QEMU <2.0, how should we judge the machines with different PCI bus name? BTW, libvirt maintainer would like a general solution for all the architecture not limited to PowerPC. Olivia > -----Original Message----- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Thursday, April 03, 2014 7:10 PM > To: Alexey Kardashevskiy; Andreas Färber; qemu-devel@nongnu.org > Cc: Yin Olivia-R63875; Alexander Graf; qemu-...@nongnu.org > Subject: Re: [Qemu-devel] [PATCH] spapr-pci: change the default PCI bus > naming > > Il 03/04/2014 10:44, Alexey Kardashevskiy ha scritto: > > > > Ufff. Does anyone know any workaround how to tell libvirt to use these > > custom names? Since there is no "pci" (and there is "pci.0"), libvirt > > cannot put any device onto default PCI bus and I do not see any way to > > workaround it in XML, am I missing something here? > > Can you just change libvirt (and break libvirt compatibility with QEMU < > 2.0)? > > Paolo >