[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] XEN_DOMCTL utility?



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.