From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Tool to migrate xm/xend managed domains into xl.cfg files Date: Wed, 2 Apr 2014 16:42:24 +0300 Message-ID: <20140402134224.GX3200@reaktio.net> References: <533BF95C.9000302@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <533BF95C.9000302@canonical.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefan Bader Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, Apr 02, 2014 at 01:49:48PM +0200, Stefan Bader wrote: > Does anybody have such a tool which could be shared? I know with a recent patch > in libvirt (1.2.3~rc1) it is possible to create libvirt xml files from the > config.sxp ones. > Just was wondering whether there might be a need of having something similar for > those that used to use xm/xend managed domains without anything else than the > xen-utils. > With libvirt you can do at least: virsh dumpxml vm_name > /tmp/a.xml virsh domxml-to-native xen-xm /tmp/a.xml > vmname.cfg Which gives you xm/xend text config files.. which should be mostly compatible with xl cfgfiles. > -Stefan > -- Pasi