[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-devel] FC-HBA assigned to guest domain does not work.


  • To: "Yuji Shimada" <shimada-yxb@xxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
  • Date: Tue, 2 Sep 2008 15:04:33 +0800
  • Cc:
  • Delivery-date: Tue, 02 Sep 2008 00:04:58 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AckMvVCPWdSAQPMkSZegK96K8Y6hGwADGWNg
  • Thread-topic: [Xen-devel] FC-HBA assigned to guest domain does not work.

I tried the patches and found they can't fix the issue I meet with. 
 (As I mentioned previously, my symptom is different from yours)
Maybe there are 2 different issues.

Thanks,
-- Dexuan


-----Original Message-----
From: Yuji Shimada [mailto:shimada-yxb@xxxxxxxxxxxxxxx] 
Sent: 2008年9月2日 13:33
To: Cui, Dexuan; xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] FC-HBA assigned to guest domain does not work.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.