From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hollis Blanchard Subject: Re: [kvm-ppc-devel] [PATCH] RFC: UseCONFIG_HAS_IOPORTaround vcpu->pio_data Date: Mon, 03 Dec 2007 23:53:58 -0600 Message-ID: <1196747638.23391.15.camel@basalt> References: <1196742244.23391.4.camel@basalt> <42DFA526FC41B1429CE7279EF83C6BDCA39EA6@pdsmsx415.ccr.corp.intel.com> <1196743784.23391.12.camel@basalt> <42DFA526FC41B1429CE7279EF83C6BDCA39EC1@pdsmsx415.ccr.corp.intel.com> Reply-To: Hollis Blanchard Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Avi Kivity To: "Zhang, Xiantao" Return-path: In-Reply-To: <42DFA526FC41B1429CE7279EF83C6BDCA39EC1-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Tue, 2007-12-04 at 13:04 +0800, Zhang, Xiantao wrote: > > Hollis Blanchard wrote: > > On Tue, 2007-12-04 at 12:39 +0800, Zhang, Xiantao wrote: > >> Hollis Blanchard wrote: > >>> Actually, (now that I try to build with it :) this doesn't work > for > >>> PowerPC, which defines (or rather, doesn't not define) > >>> CONFIG_HAS_IOPORT. > >> > >> You mean ppc has ioport , but you don't use current kvm io > >> infrastructure to handle it ? > > > > It's a matter of perspective. :) > > > > The PowerPC architecture has no "IO" instructions; therefore all IO > > accesses are MMIO. > > However, you can place devices with IO ports in a PowerPC system. In > > this case, the bridges are configured to translate MMIO accesses > > coming from the processor into IO port accesses on the bus. It is > > quite common to find standard x86 ISA devices, such as a SuperIO > > Thank you for your elaboration. > So, bridge emulation in qemu will take over the responsibility of the > translation for ppc? Yup. -- Hollis Blanchard IBM Linux Technology Center ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4