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] XEN_DOMCTL utility?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] XEN_DOMCTL utility?
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Fri, 15 Dec 2006 04:30:40 +0000
Cc: ron minnich <rminnich@xxxxxxxxx>
Delivery-date: Thu, 14 Dec 2006 20:30:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <13426df10612052013j4cf1de7cwf52eb0a51a154f05@xxxxxxxxxxxxxx>
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: <13426df10612052013j4cf1de7cwf52eb0a51a154f05@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
Hi Ron

> is there a utility of some sort that one can use to control domains? I
> need to set XEN_DOMCTL_ioport_permission in a domain, but after a fair
> amount of searching I don't see any utility; on the other hand it's
> hard to believe this has not been written.

you should be able to add ioports="FROM[-TO]" to your xm command line or the 
config file in order to grant permissions to a range.  You can replicate this 
several times on the xm command line to grant multiple ranges.  In the config 
file, ioports should probably be a python list of ranges.

See tools/python/xen/xm/create.py for where this is parsed.

I've not used this myself but it sounds like it does what you're looking for!

HTH,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

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