Skip to content

RFC Libxl migration v2 support

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5tools/libxl: Add support for writing a set of buffers asynchronouslytools/libxl/libxl_aoutils.c tools/libxl/libxl_internal.h+162 -01 reply
2/5tools/libxl: Stream v2 formattools/libxl/libxl_saverestore.h+47 -00 replies
3/5tools/libxl: Implement libxl_domain_restore() for v2 streamstools/libxl/libxl.c tools/libxl/libxl.h tools/libxl/libxl_create.c +1 more+264 -00 replies
4/5tools/xl: Restore v2 streams using new libxl_domain_restore() interfacetools/libxl/xl_cmdimpl.c+14 -70 replies
5/5tools/[lib]xl: Alter libxl_domain_suspend() to write a v2 streamtools/libxl/libxl.h tools/libxl/libxl_dom.c tools/libxl/libxl_internal.h +1 more+166 -330 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH VERY RFC 0/5] Libxl migration v2 support

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

--
1.7.10.4