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-users

Re: [Xen-users] VM configuration file when created with VMM or Virt-inst

To: "John Haxby" <john.haxby@xxxxxxxxxx>
Subject: Re: [Xen-users] VM configuration file when created with VMM or Virt-install
From: "Henok Mikre" <henokmikre@xxxxxxxxx>
Date: Tue, 3 Jun 2008 08:48:19 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, "Kumar, Venkat" <Venkat.Kumar@xxxxxxx>
Delivery-date: Tue, 03 Jun 2008 05:48:54 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=2gt/39G8pKKRcAQDe06qEuawAZolH6V5f7MpbNbsOAM=; b=KQkVt61ie15b28prPVnJO4GpMiDRHt3llvK9jT78+mXKf2lEj92UaSLnDXkj2rTl/zQc0hmiTS+stYFa2xZmIpwo+IXRBB97iAapwaWKTy1IHyF3JAEWqgOYqbr3BB47c/w1CxQdD10xhtp8xOLQ9bNi4SxhJrHbb9QyUv//Kxg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=PUNXDXjcqfOfP2+mPX3HeHk8+YNiW/l0fAdtXpT81bAovI3Ci7OL/9n8GJghoLz+4d2DvpxF1oB/WiINNddpRIKIu7eJC22WGLSHhjgDnlrVQKIzZyR+W1srHIWZ1qKd/2mhCNw6cev9zmJ+QBcpviP/KKHPGoZL7UvHvSJLAkA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <484532B0.3080001@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BAE00A046AA36849A57B854371750273B5D361@xxxxxxxxxxxxxxxxxx> <484532B0.3080001@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Also, once you have installed using virt-install, you can dump the xml file of the basic configuration to a file...

virsh dumpxml <domain id> > myconf.xml

From the on you can start the vm through CLI by doing ...

virsh create myconf.xml

On Tue, Jun 3, 2008 at 8:01 AM, John Haxby <john.haxby@xxxxxxxxxx> wrote:
Kumar, Venkat wrote:

When a VM is created with VMM GUI tool or Virt-install command line tool, where will the domain configuration file be stored?

 
It depends ...

However, a general technique may help you:

  touch /tmp/stamp
  virt-install ...
  find / -xdev -newer /tmp/stamp

That will find all the files that were touched by the virt-install.  The "-xdev" stops find wandering off into /proc and /sys; if you suspect files are being created on some other file system you may wish to add its mount point to the list of directories to search.

jch

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

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