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

Re: [Xen-devel] Tool to migrate xm/xend managed domains into xl.cfg files



On 02.04.2014 15:42, Pasi Kärkkäinen wrote:
> 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.

Right, you also could do a domxml-from-native xen-sxpr <file> and re-export that
with domxml-to-native xen-xm as you said.
The reason I am asking or looking into it is trying to figure out whether I can
offer a nice way of don some of that automatically for people on upgrade (and
there might be some that don't have libvirt installed as well).


> 
>> -Stefan
>>
> 
> -- Pasi
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.