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] FC-HBA assigned to guest domain does not work.

To: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] FC-HBA assigned to guest domain does not work.
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 02 Sep 2008 08:38:55 +0100
Cc:
Delivery-date: Tue, 02 Sep 2008 00:39:33 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080902140927.6A63.SHIMADA-YXB@xxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckMzvPPMpJt9HjCEd24xAAWy6hiGQ==
Thread-topic: [Xen-devel] FC-HBA assigned to guest domain does not work.
User-agent: Microsoft-Entourage/11.4.0.080122
The hvmloader side is perhaps plausible, since it only changes its behaviour
if qemu exposes an already-configured BAR. Fair enough. I don't think that
blanket always-use-physical-BAR-address is a great idea in qemu -- perhaps
if it could be configurable that would be okay.

 -- Keir

On 2/9/08 06:32, "Yuji Shimada" <shimada-yxb@xxxxxxxxxxxxxxx> wrote:

> FC-HBA's MMIO resource are mapped to guest physical address and
> machine address. I found both addresses need to be the same.
> 
> I created the series of patches which map MMIO resource to the same
> address in guest physical address space and in machine address space.
> After applying this patch, my FC-HBA worked and IOMMU page fault did
> not occur.
> 
> The patches are for only discussion.
> I'd like comments of developers.
> 
> 
>> I think that MMIO resource mapped via p2m table should be mapped via
>> IOMMU's page table too. In other word, XEN_DOMCTL_memory_mapping
>> hypercall should update not only p2m table, but also IOMMU's page table.
> 
> Currently I don't think this is required.
> 
> Thanks,
> 
> Signed-off-by: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
> 
> --
> Yuji Shimada
> _______________________________________________
> 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