Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Allow mini-os to unbind all evtchns

To: Jacob Gorm Hansen <jacobg@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Allow mini-os to unbind all evtchns
From: Grzegorz Milos <gm281@xxxxxxxxx>
Date: Wed, 29 Nov 2006 12:16:26 +0000
Cc: xen-devel <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 29 Nov 2006 04:16:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1164715576.12587.6.camel@xxxxxxxxxxxxxxxxxxxxx>
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>
References: <1164371227.3256.3.camel@xxxxxxxxxxxxxxxxxxxxx> <1164715576.12587.6.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
The patch looks good to me. I only have one comment: it would be good to have unbind_all_ports in the events header file.

Cheers
Gregor
On 28 Nov 2006, at 12:06, Jacob Gorm Hansen wrote:

On Fri, 2006-11-24 at 13:27 +0100, Jacob Gorm Hansen wrote:
The attached patch exports a function clients can call to have all Xen
ports unbound. This is necessary when using mini-os as the foundation
for a boot-loader.

Sorry, that patch did not work as intended. The correct version is
attached. Bound ports are tracked in an array, and a function to unbind
all ports in the array is exported.

Jacob
<miniosunbindall.patch>
_______________________________________________
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