All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Bader <stefan.bader@canonical.com>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Tool to migrate xm/xend managed domains into xl.cfg files
Date: Wed, 02 Apr 2014 15:56:44 +0200	[thread overview]
Message-ID: <533C171C.60904@canonical.com> (raw)
In-Reply-To: <20140402134224.GX3200@reaktio.net>


[-- Attachment #1.1: Type: text/plain, Size: 1122 bytes --]

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 #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 901 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

  reply	other threads:[~2014-04-02 13:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-02 11:49 Tool to migrate xm/xend managed domains into xl.cfg files Stefan Bader
2014-04-02 13:42 ` Pasi Kärkkäinen
2014-04-02 13:56   ` Stefan Bader [this message]
2014-04-02 14:33     ` George Dunlap
2014-04-02 14:38       ` Stefan Bader
2014-04-02 15:45       ` Ian Campbell
2014-04-02 18:34         ` Stefan Bader

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=533C171C.60904@canonical.com \
    --to=stefan.bader@canonical.com \
    --cc=pasik@iki.fi \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.