From: Hongyang Yang <yanghy@cn.fujitsu.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>,
Xen-devel List <xen-devel@lists.xen.org>
Cc: Juergen Gross <JGross@suse.com>, Wei Liu <wei.liu2@citrix.com>,
Ian Campbell <Ian.Campbell@citrix.com>, Tim Deegan <tim@xen.org>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Ross Lagerwall <ross.lagerwall@citrix.com>,
David Vrabel <david.vrabel@citrix.com>,
Jan Beulich <JBeulich@suse.com>,
Shriram Rajagopalan <rshriram@cs.ubc.ca>
Subject: Re: [Planning for Xen-4.6] Migration v2
Date: Thu, 27 Nov 2014 16:33:52 +0800 [thread overview]
Message-ID: <5476E1F0.5000804@cn.fujitsu.com> (raw)
In-Reply-To: <5474DE5A.2060000@citrix.com>
在 11/26/2014 03:54 AM, Andrew Cooper 写道:
> Hello,
>
> The purpose of this email is to plan how to progress the migrationv2
> series through to being merged. I believe I have CC'd everyone with a
> specific interest in this area, but apologies if I have missed anyone.
>
> Migration v2 is in exclusive use in XenServer 6.5. We primarily
> developed migration v2 because we needed a 32bit -> 64bit toolstack
> upgrade path. The code has all the features XenServer previously
> supported, and we consider it fully baked and without any known bugs,
> including transparent legacy-to-v2 conversion on upgrade.
>
> We did endeavour to get migration v2 into Xen 4.5, but regrettably this
> did not happen. A consequence of this, along with the code being in
> XenServer 6.5, is that the wire format is now set in stone. Luckily, it
> has been explicitly designed to be easy to extend in a forward
> compatible manor, so this is not a problem moving forward.
>
> The expectation is that the migration v2 code will completely replace
> the existing migration code, which will involve removing
> xc_domain_save.c and xc_domain_restore.c, as well as assorted other
> orphaned code in libxenctrl and libxenguest
>
> There are 3 areas of concern which have been identified so far.
>
> 1) TMEM support
>
> Migration v2 doesn't currently have any tmem migration support. The
> maintainers have been asked whether they actually expect legacy tmem
> migration to work, but I have not heard any reply yet. At the very
> least, migration v2 tmem support would want some new thought put into
> wire protocol. I am hoping that, as TMEM is still tech preview and
> still in the process of having XSA-15 fixed, working tmem migration v2
> is not insisted as a prerequisite.
>
> 2) Remus/COLO support
>
> Migration v2 doesn't currently have any Remus support. There was a
> draft series which added Remus support, and showed that it was
> particularly simple to add Remus support to migration v2. I integrated
> several bugfixes as a side effect of that series, but the actual Remus
> content needed a refresh. This got delayed behind the Remus libxl
> effort. It is my hope that the Remus maintainers can refresh that
> series and provide assistance while testing.
Sure, I'm planning to refresh the patches as soon as Xen 4.6 merge window
opened. And also going to start the work on libxl side because libxl part
of migration v2 has already done(although not fullly finished?). And we
hope COLO support will go into Xen 4.6 also.
>
> 3) Libxl and xl support
>
> Libxl and xl have as many problems as the libxc code did when it comes
> to incompatible wire formats and layering violations. In particular, it
> is not possible to determine the bitness of the sending
> libxl-saverestore-helper, meaning that legacy conversion requires active
> administrator input, or at least a passive assumption that the bitness
> is the same.
>
> There is an xl/libxl part of the migration v2 series which attempts to
> rectify this all in one go, as there is no alternative way of doing so.
> The libxl section of the series is certainly not yet complete, but
> specific queries to the maintainers have thusfar gone unanswered. On
> the other hand, the series does basically WorkForMe, including
> transparent legacy upgrade, suggesting that it is at least in an
> appropriate ballpark.
>
>
> *) Specific non-requirements:
>
> There have been issues identified with dynamic (in a p2m sense) guests
> and migration, which results in failed migration or image corruption.
> While these issues certainly want fixing, they are bugs which exist in
> the legacy code. As such, they are not prerequisites to fix before v2
> can be accepted.
>
>
> Anyway, it is my hope that this planning email can help get things on
> track to start perusing active development again as soon as the 4.6 dev
> window opens again, with the aim to get all the code merged as early as
> possible in the dev window to allow as much testing as possible.
>
> ~Andrew
>
> .
>
--
Thanks,
Yang.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
prev parent reply other threads:[~2014-11-27 8:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-25 19:54 [Planning for Xen-4.6] Migration v2 Andrew Cooper
2014-11-26 8:09 ` Olaf Hering
2014-11-26 13:17 ` Andrew Cooper
2014-11-26 14:53 ` Olaf Hering
2014-11-26 16:44 ` Ian Campbell
2014-11-26 17:22 ` Andrew Cooper
2014-11-26 16:50 ` Ian Campbell
2014-11-26 17:39 ` Andrew Cooper
2014-11-27 8:46 ` Ian Campbell
2014-11-27 8:33 ` Hongyang Yang [this message]
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=5476E1F0.5000804@cn.fujitsu.com \
--to=yanghy@cn.fujitsu.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=JBeulich@suse.com \
--cc=JGross@suse.com \
--cc=andrew.cooper3@citrix.com \
--cc=david.vrabel@citrix.com \
--cc=ross.lagerwall@citrix.com \
--cc=rshriram@cs.ubc.ca \
--cc=tim@xen.org \
--cc=wei.liu2@citrix.com \
--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.