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

xen-devel

[Top] [All Lists]

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

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] FC-HBA assigned to guest domain does not work.
From: Yuji Shimada <shimada-yxb@xxxxxxxxxxxxxxx>
Date: 2008年9月03日 16:54:24 +0900
Cc:
Delivery-date: 2008年9月03日 00:54:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C4E2AC1F.1CAEA%keir.fraser@xxxxxxxxxxxxx>
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>
References: <20080902140927.6A63.SHIMADA-YXB@xxxxxxxxxxxxxxx> <C4E2AC1F.1CAEA%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thank you for your reply.
My patches say that some devices which require that emulated BAR
address is equal to actual BAR address. 
I don't have internal design specification of FC-HBA. But I presume
FC-HBA's device driver and firmware communicate via its internal memory.
And they use the same address to access internal memory.
On non-virtualized environment, device driver and firmware use the
same physical address. So they can communicate each other. On
virtualized environment, device driver use guest physical address,
while firmware use machine address. So they can't communicate.
My patches are not good solution to fix the issue. Hot-added device will
not work, because Guest OS configures BARs. And other changes will be
needed. For example, we need to change guest memory map to avoid
conflict between MMIO resource and memory. Additionally guest physical
address should be independent of machine address.
I don't have a good idea to solve the issue, currently.
If VT-d provides some method to solve the issue, it is nice.
--
Yuji Shimada
On 2008年9月02日 08:38:55 +0100
Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:
> 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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: RE: [Xen-devel] Can we disable secondary_bus_reset in runtime? , Cui, Dexuan
Next by Date: Re: [Xen-devel] FC-HBA assigned to guest domain does not work. , Yuji Shimada
Previous by Thread: Re: [Xen-devel] FC-HBA assigned to guest domain does not work. , Keir Fraser
Next by Thread: Re: [Xen-devel] FC-HBA assigned to guest domain does not work. , Yuji Shimada
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /