From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLSPS-0004Cw-Vu for qemu-devel@nongnu.org; Thu, 06 Mar 2014 02:08:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLSPO-0007ps-GK for qemu-devel@nongnu.org; Thu, 06 Mar 2014 02:08:02 -0500 Received: from mail-pb0-f54.google.com ([209.85.160.54]:42272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLSPO-0007pk-AJ for qemu-devel@nongnu.org; Thu, 06 Mar 2014 02:07:58 -0500 Received: by mail-pb0-f54.google.com with SMTP id ma3so2224191pbc.13 for ; Wed, 05 Mar 2014 23:07:57 -0800 (PST) Message-ID: <53181EC3.2090903@ozlabs.ru> Date: Thu, 06 Mar 2014 18:07:47 +1100 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <49b80c368134449bb2b9093204aef6b6@BL2PR03MB210.namprd03.prod.outlook.com> <53170DFB.5050005@ozlabs.ru> <53172815.50806@redhat.com> <53173FA6.8060409@ozlabs.ru> In-Reply-To: Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] QEMU: PCI bus name on PowerPC platforms List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Hong-Hua.Yin@freescale.com" , Paolo Bonzini , "david@gibson.dropbear.id.au" , "agraf@suse.de" Cc: "qemu-ppc@nongnu.org" , "qemu-devel@nongnu.org" , Li Zhang On 03/06/2014 06:04 PM, Hong-Hua.Yin@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 version. So? > Best Regards, > Olivia > >> -----Original Message----- >> From: Alexey Kardashevskiy [mailto:aik@ozlabs.ru] >> Sent: Wednesday, March 05, 2014 11:16 PM >> To: Paolo Bonzini; Yin Olivia-R63875; david@gibson.dropbear.id.au; >> agraf@suse.de >> Cc: qemu-ppc@nongnu.org; qemu-devel@nongnu.org; Li Zhang >> Subject: Re: QEMU: PCI bus name on PowerPC platforms >> >> On 03/06/2014 12:35 AM, Paolo Bonzini wrote: >>> Il 05/03/2014 12:43, Alexey Kardashevskiy ha scritto: >>>> >>>> I just tried current upstresm QEMU and it handles bus=pci fine, it >>>> prints an error on bus=pci.0 so I am confused - what qemu are you trying? >>> >>> See below: >> >> I understand, just got confused that "pci" did not work. >> >> >>> 1) virtex-ml507 >>> 2) pseries >>> Warning: Disabling some instructions which are not emulated by TCG (0x0, >> 0x4) >>> bus: pci >>> 3) prep >>> bus: pci.0 >>> 4) bamboo >>> bus: pci.0 >>> 5) ref405ep >>> qemu-system-ppc64: Could not load PowerPC BIOS 'ppc405_rom.bin' >>> 6) taihu >>> qemu-system-ppc64: Could not load PowerPC BIOS 'ppc405_rom.bin' >>> 7) mpc8544ds >>> bus: pci.0 >>> 8) g3beige >>> bus: pci.0 >>> 9) mac99 >>> bus: pci.0 >>> 10) ppce500 >>> bus: pci.0 >>> >>> pseries is the odd one, I think the right thing to do is for QEMU to >>> change the bus name incompatibly, and libvirt to cope with it. >> >> Originally "pci" was used to make libvirt happy so we can easily switch >> pseries to pci.0 or NULL. >> >> >> >> -- >> Alexey >> > -- Alexey