Skip to contentSkip to conversation

Running dom and associated conf file and cmdline

DISCUSSION jdsw 2 participants 2 messages Nov 15, 2006

lore
Share & tools
lore

jdsw

author
#0 lore raw

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.

Thanks
/Jd

---------------------------------
Sponsored Link

$420,000 Mortgage for $1,399/month - Think You Pay Too Much For Your Mortgage? Find Out!

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 6 lines · jdsw

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.

Signature · 4 lines
|=- 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  -=|