All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v8 00/15] Migration v2 (libxc)
@ 2015-04-02 18:32 Andrew Cooper
  2015-04-02 18:32 ` [PATCH v8 01/15] tools/libxc: Implement writev_exact() in the same style as write_exact() Andrew Cooper
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: Andrew Cooper @ 2015-04-02 18:32 UTC (permalink / raw)
  To: Xen-devel
  Cc: Wei Liu, Ian Campbell, Wen Congyang, Andrew Cooper, Ian Jackson,
	Tim Deegan, Ross Lagerwall, David Vrabel, Shriram Rajagopalan,
	Hongyang Yang, Vijay Kilari

Presented here is v8 of the Migration v2 series (libxc subset), which is able
to function when transparently inserted under an unmodified xl/libxl.

There are numerous tweaks in v8 (fix build with MiniOS, tweak some code to
appease Coverity, style fixes, clarification of some error messages) but no
major changes from the previous version.  It is my belief that the libxc
changes are functionally complete.

This series can be found on a 'saverestore2-v8' at
  http://xenbits.xen.org/git-http/people/andrewcoop/xen.git

To experiment, simply set XG_MIGRATION_V2 in xl's environment.  For migration,
the easiest way is to tweak libxl-save-helper to be a shell script

  root@vitruvias:/home# cat /usr/lib/xen/bin/libxl-save-helper
  #!/bin/bash
  export XG_MIGRATION_V2=x
  exec /usr/lib/xen/bin/libxl-save-helper.bin "$@"

which will ensure that XG_MIGRATION_V2 gets set in the environment for both
the source and destination of migration.

  Patches 1 and 2 are prerequisites
  Patches 3 to 13 are the meat of the series
  Patch 14 is the design document
  Patch 15 is the compat layer for unmodified libxl

Please experiment!

~Andrew

Andrew Cooper (15):
  tools/libxc: Implement writev_exact() in the same style as write_exact()
  libxc/progress: Extend the progress interface
  tools/libxc: Migration v2 framework
  tools/libxc: C implementation of stream format
  tools/libxc: noarch common code
  tools/libxc: x86 common code
  tools/libxc: x86 PV common code
  tools/libxc: x86 PV save code
  tools/libxc: x86 PV restore code
  tools/libxc: x86 HVM save code
  tools/libxc: x86 HVM restore code
  tools/libxc: noarch save code
  tools/libxc: noarch restore code
  docs: libxc migration stream specification
  tools/libxc: Migration v2 compatibility for unmodified libxl

 docs/Makefile                            |   11 +-
 docs/specs/libxc-migration-stream.pandoc |  672 +++++++++++++++++
 tools/libxc/Makefile                     |    9 +
 tools/libxc/include/xenguest.h           |   13 +
 tools/libxc/xc_domain_restore.c          |   11 +-
 tools/libxc/xc_domain_save.c             |    9 +-
 tools/libxc/xc_private.c                 |  107 ++-
 tools/libxc/xc_private.h                 |   18 +-
 tools/libxc/xc_sr_common.c               |  113 +++
 tools/libxc/xc_sr_common.h               |  342 +++++++++
 tools/libxc/xc_sr_common_x86.c           |   54 ++
 tools/libxc/xc_sr_common_x86.h           |   26 +
 tools/libxc/xc_sr_common_x86_pv.c        |  210 ++++++
 tools/libxc/xc_sr_common_x86_pv.h        |  102 +++
 tools/libxc/xc_sr_restore.c              |  646 +++++++++++++++++
 tools/libxc/xc_sr_restore_x86_hvm.c      |  327 +++++++++
 tools/libxc/xc_sr_restore_x86_pv.c       | 1153 ++++++++++++++++++++++++++++++
 tools/libxc/xc_sr_save.c                 |  788 ++++++++++++++++++++
 tools/libxc/xc_sr_save_x86_hvm.c         |  256 +++++++
 tools/libxc/xc_sr_save_x86_pv.c          |  860 ++++++++++++++++++++++
 tools/libxc/xc_sr_stream_format.h        |  148 ++++
 tools/libxc/xtl_core.c                   |    9 +-
 22 files changed, 5867 insertions(+), 17 deletions(-)
 create mode 100644 docs/specs/libxc-migration-stream.pandoc
 create mode 100644 tools/libxc/xc_sr_common.c
 create mode 100644 tools/libxc/xc_sr_common.h
 create mode 100644 tools/libxc/xc_sr_common_x86.c
 create mode 100644 tools/libxc/xc_sr_common_x86.h
 create mode 100644 tools/libxc/xc_sr_common_x86_pv.c
 create mode 100644 tools/libxc/xc_sr_common_x86_pv.h
 create mode 100644 tools/libxc/xc_sr_restore.c
 create mode 100644 tools/libxc/xc_sr_restore_x86_hvm.c
 create mode 100644 tools/libxc/xc_sr_restore_x86_pv.c
 create mode 100644 tools/libxc/xc_sr_save.c
 create mode 100644 tools/libxc/xc_sr_save_x86_hvm.c
 create mode 100644 tools/libxc/xc_sr_save_x86_pv.c
 create mode 100644 tools/libxc/xc_sr_stream_format.h

-- 
1.7.10.4

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

end of thread, other threads:[~2015-04-10 12:20 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-02 18:32 [PATCH v8 00/15] Migration v2 (libxc) Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 01/15] tools/libxc: Implement writev_exact() in the same style as write_exact() Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 02/15] libxc/progress: Extend the progress interface Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 03/15] tools/libxc: Migration v2 framework Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 04/15] tools/libxc: C implementation of stream format Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 05/15] tools/libxc: noarch common code Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 06/15] tools/libxc: x86 " Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 07/15] tools/libxc: x86 PV " Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 08/15] tools/libxc: x86 PV save code Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 09/15] tools/libxc: x86 PV restore code Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 10/15] tools/libxc: x86 HVM save code Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 11/15] tools/libxc: x86 HVM restore code Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 12/15] tools/libxc: noarch save code Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 13/15] tools/libxc: noarch restore code Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 14/15] docs: libxc migration stream specification Andrew Cooper
2015-04-02 18:32 ` [PATCH v8 15/15] tools/libxc: Migration v2 compatibility for unmodified libxl Andrew Cooper
2015-04-08 15:44 ` [PATCH v8 00/15] Migration v2 (libxc) Roger Pau Monné
2015-04-10 12:20 ` Fabio Fantoni

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.