WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] one question on the PCI ioport base address for hvm doma

To: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] one question on the PCI ioport base address for hvm domain in hvmloader.c
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 07 Jan 2008 12:59:29 +0000
Delivery-date: Mon, 07 Jan 2008 05:00:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <391BF3CDD2DC0848B40ACB72FA97AD5902B8B8FC@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchRIyN5yzpWwbISTzG5mnNZ0UT+SwACf/2N
Thread-topic: [Xen-devel] one question on the PCI ioport base address for hvm domain in hvmloader.c
User-agent: Microsoft-Entourage/11.3.6.070618
Why not keep the level of indirection? After all, the guest OS should be
allowed to remap any BAR and we should support that.

 -- Keir

On 7/1/08 11:47, "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx> wrote:

> I'm considering to make guest IO port address same as physical one for
> passthrough hvm domain. However,  in hvmloader.c's pci_setup(), the
> io_base is hardcoded as 0xc000, are there any special reason for this
> value? (I checked and seems it comes from original qemu's code)
> 
> Can anyone give me some hints on it?
> 
> Thanks
> -- Yunhong Jiang
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel