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] [PATCH] enable port accesses with (almost) fullregister

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, "Tian, Kevin" <kevin.tian@xxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] enable port accesses with (almost) fullregister context
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Mon, 11 Sep 2006 21:04:50 +0100
Delivery-date: Mon, 11 Sep 2006 13:17:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C12B7E81.14CA%Keir.Fraser@xxxxxxxxxxxx>
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: AcbVvga6RRR6PkGxEduR3QANk04WTAACDg9gAAWbrfEAADb9WA==
Thread-topic: [Xen-devel] [PATCH] enable port accesses with (almost) fullregister context
User-agent: Microsoft-Entourage/11.2.5.060620
On 11/9/06 8:58 pm, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx> wrote:

> On 11/9/06 6:24 pm, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:
> 
>> 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 ports
>> 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 domains
> 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 bitmap
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 special
ports wouldn't be assigned to other domU's anyway.

 -- Keir




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