From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Bader Subject: Re: Tool to migrate xm/xend managed domains into xl.cfg files Date: Wed, 02 Apr 2014 15:56:44 +0200 Message-ID: <533C171C.60904@canonical.com> References: <533BF95C.9000302@canonical.com> <20140402134224.GX3200@reaktio.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2825528954226031952==" Return-path: In-Reply-To: <20140402134224.GX3200@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============2825528954226031952== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8mfqnq00SevewpbogWxg8Hv24DD0eBQSh" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --8mfqnq00SevewpbogWxg8Hv24DD0eBQSh Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02.04.2014 15:42, Pasi K=E4rkk=E4inen 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 rec= ent 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 s= imilar for >> those that used to use xm/xend managed domains without anything else t= han the >> xen-utils. >> >=20 > With libvirt you can do at least: >=20 > virsh dumpxml vm_name > /tmp/a.xml > virsh domxml-to-native xen-xm /tmp/a.xml > vmname.cfg >=20 > Which gives you xm/xend text config files.. which should be mostly comp= atible with xl cfgfiles. Right, you also could do a domxml-from-native xen-sxpr and re-expo= rt 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). >=20 >> -Stefan >> >=20 > -- Pasi >=20 --8mfqnq00SevewpbogWxg8Hv24DD0eBQSh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJTPBccAAoJEOhnXe7L7s6jn9wQAIy0hDUASQaQ//UcPisBfHHE ySe+uYeWwCro/tFc0nwB8tVa2l8mC79QlLz3bR1FtimItjfPgPuVN6KcCLnluIfd ENPDR4ScIHgxI0yq6aGxFI+kKc+6JCHaaveS8SnAOwSsVj0G9wFEgdN+On3ydaRl HBtkuA6sD5HNNi5tadK26G3IGTWeiFIZlReuYQx8HcBrkWrh4vXDNoohtIHDBz9g FV2GKNgqfyGNDcKfoGZphq9eWzDVmnRgQtq2lEkdNnvY28Gkv3Pfw23cYNIFBPpC 0U/XkC4XTS0Qg7Nemk6MT9tyfNvgc3RMEIs6Q8dfQjWjbkfjcFGeTYZhZH71/aWF KeKjA7qaQH7FC5oMfRHPxRaQU7sskref42NuRAGz1LSJA47hBRlwN9hZmhSo6was W3io0lkaYQtUUa4kCREjJbEMl5KiVpK7rItncgNNLmUnAlNxZmKjtFyiXXNKx7jE UfPlxd8wHDpC6pwVtxLiGAGmKjxLgM4bfeUJ80QF27cruFh+EABh2R//iktk3A89 z0O0feZ9icvuCJAJG+8bvnltZs8ahbNiE0aHARyjmgmyr7KZ1RVlxJ89mO+E7Qly tuLSp8bdZix92UmChIF3QzgYmkHCb+xik4BacbKDL+ZS7ZJSo400fwOWYRCInlAt QkIwLca1WklOffbTR2LU =JT1X -----END PGP SIGNATURE----- --8mfqnq00SevewpbogWxg8Hv24DD0eBQSh-- --===============2825528954226031952== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============2825528954226031952==--