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/
Home Products Support Community News


RE: [Xen-devel] [PATCH] enable port accesses with (almost) fullregister

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Jan Beulich" <jbeulich@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] enable port accesses with (almost) fullregister context
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Tue, 12 Sep 2006 04:36:20 +0800
Delivery-date: Mon, 11 Sep 2006 15:02:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AcbVvga6RRR6PkGxEduR3QANk04WTAACDg9gAAWbrfEAADb9WAAA1sSw
Thread-topic: [Xen-devel] [PATCH] enable port accesses with (almost) fullregister context
>From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx]
>Sent: 2006年9月11日 13:05
>>> Hi, Keir,
>>> Say in the driver domain case, does dom0-only bitmap need to sync
>with admin
>>> bitmaps? Or simply depend on the assumption that dom0 won't use io
>>> granted to other domains?
>> There's no checking of that kind of thing already. Xen will happily allow
>> I/O memory and I/O ports to be assigned write access for multiple
>> simultaneously. It's up to control tools, or a sysadmin, to implement or
>> enforce a more sophisticated policy if that is what is wanted.
>Maybe I misunderstood the question. If control tools update an admin
>today, then future port accesses by the guest are affected. If this dom0
>special bitmap is implemented, it is probably the case that we will not
>filter it through dom0's admin bitmap. As you say, we'll assume that
>ports wouldn't be assigned to other domU's anyway.
> -- Keir

Yes, this assumption can ensure minimal performance affect. But, say in any 
case you still need to sync this special dom0 bitmap with guest bitmap, how 
much extra overhead to pay syncing with admin bitmap too? If not obviously 
differ, filtering all bitmaps can provide a more flexible interface for port 
assignment. :-)


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>