Re: [Qemu-devel] [PATCH] spapr-pci: change the default PCI bus naming

2014-04-03 Thread hong-hua....@freescale.com
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 maint

[Qemu-devel] QEMU: PCI bus name on PowerPC platforms

2014-03-05 Thread hong-hua....@freescale.com
Hi Gibson, I noticed your patch http://git.qemu.org/?p=qemu.git;a=commitdiff;h=89dfd6e1 and have some question about PCI bus name on PowerPC. When I use libvirt to start VM on PowerPC platforms, it failed as below: # virsh start sdk error: Failed to start domain sdk error: internal error: early

Re: [Qemu-devel] QEMU: PCI bus name on PowerPC platforms

2014-03-05 Thread hong-hua....@freescale.com
Hi Alexey, I just clone qemu from git://git.qemu.org/qemu.git. commit f55ea6297cc0224fe4934b90ff5343b620b14669 $ ./configure --target-list=ppc64-softmmu --disable-sdl --disable-guest-agent --prefix="/usr/local" $ make $ ./ppc64-softmmu/qemu-system-ppc64 --version QEMU emulator version 1.7.50, Co

Re: [Qemu-devel] QEMU: PCI bus name on PowerPC platforms

2014-03-05 Thread hong-hua....@freescale.com
Hi Alexey, Even though you change the default PCI bus naming, it will need detect the QEMU version in libvirt to keep compatibility with old QEMU version. Best Regards, Olivia > -Original Message- > From: Alexey Kardashevskiy [mailto:a...@ozlabs.ru] > Sent: Wednesday, March 05, 2014 11

Re: [Qemu-devel] QEMU: PCI bus name on PowerPC platforms

2014-03-05 Thread hong-hua....@freescale.com
ct: Re: QEMU: PCI bus name on PowerPC platforms > > On 03/06/2014 06:04 PM, hong-hua@freescale.com wrote: > > Hi Alexey, > > > > Even though you change the default PCI bus naming, it will need detect > > the QEMU version in libvirt to keep compatibility with old QEMU