xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH VERY RFC 0/5] Libxl migration v2 support
@ 2014-09-03 17:14 Andrew Cooper
  2014-09-03 17:14 ` [PATCH VERY RFC 1/5] tools/libxl: Add support for writing a set of buffers asynchronously Andrew Cooper
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Andrew Cooper @ 2014-09-03 17:14 UTC (permalink / raw)
  To: Xen-devel
  Cc: Wei Liu, Ross Lagerwall, Ian Jackson, Ian Campbell, Andrew Cooper

Presented here is a very RFC series (due to a lot of remaining TODOs) for
libxl migration v2 support.  It depends on the libxc migration v2 series.

Currently implemented:
 * PV save/restore/migrate

Yet to implement
 * HVM domains
 * Conversion of legacy streams

It is presented here for preliminary review, mainly regarding the general
approach.  There are currently quite a few code hacks which should be resolved
when Wei's domain json series is available.  These areas are marked in the
code.

 tools/libxl/libxl.c             |   13 +++
 tools/libxl/libxl.h             |   49 +++++++-
 tools/libxl/libxl_aoutils.c     |  118 ++++++++++++++++++++
 tools/libxl/libxl_create.c      |  234 +++++++++++++++++++++++++++++++++++++++
 tools/libxl/libxl_dom.c         |  160 +++++++++++++++++++++-----
 tools/libxl/libxl_internal.h    |   50 +++++++++
 tools/libxl/libxl_saverestore.h |   47 ++++++++
 tools/libxl/xl_cmdimpl.c        |   22 ++--
 8 files changed, 653 insertions(+), 40 deletions(-)
 create mode 100644 tools/libxl/libxl_saverestore.h

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>

--
1.7.10.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-09-04  1:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-03 17:14 [PATCH VERY RFC 0/5] Libxl migration v2 support Andrew Cooper
2014-09-03 17:14 ` [PATCH VERY RFC 1/5] tools/libxl: Add support for writing a set of buffers asynchronously Andrew Cooper
2014-09-04  1:28   ` Wen Congyang
2014-09-03 17:14 ` [PATCH VERY RFC 2/5] tools/libxl: Stream v2 format Andrew Cooper
2014-09-03 17:14 ` [PATCH VERY RFC 3/5] tools/libxl: Implement libxl_domain_restore() for v2 streams Andrew Cooper
2014-09-03 17:14 ` [PATCH VERY RFC 4/5] tools/xl: Restore v2 streams using new libxl_domain_restore() interface Andrew Cooper
2014-09-03 17:14 ` [PATCH VERY RFC 5/5] tools/[lib]xl: Alter libxl_domain_suspend() to write a v2 stream Andrew Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).