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

Re: [Xen-devel] Running dom and associated conf file and cmdline



On Wed, Nov 15, 2006 at 09:55:59AM -0800, jdsw wrote:
> Hi
> 
>    It would be convenient to have access to the config file (full path)
> and the command line  (startup parameters) through xml-rpc (DomInfo) 
> interface. 
>    Currently I have seen, our product and others reading files... and 
> trying to match dom names etc...which is quite error prone and kludgy.

I think you mean you want the ability to see 'inactive'  domains from
from the APIs ?  If so this capability became available when the recent
Xen-API work was merged. If you do an 'xm list' it'll show both running
and inactive guests - the latter have an id of -1. This is only available
in xen-unstable tree & thus will be in 3.0.4 release.

Until then, reading/parsing the config files from /etc/xen is only option.
I've added support for doing just this in libvirt so we can work on older
3.0.2, and 3.0.3 releases, as well as making use of the new APIs in 3.0.4

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

_______________________________________________
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®.