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] Running dom and associated conf file and cmdline

To: jdsw <jdsw2002@xxxxxxxxx>
Subject: Re: [Xen-devel] Running dom and associated conf file and cmdline
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Wed, 15 Nov 2006 18:03:13 +0000
Cc: xendevel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 15 Nov 2006 10:03:30 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061115175559.12783.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <20061115175559.12783.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
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

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