Skip to content

Migration v2 (libxc)

Andrew Cooper xen-devel 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest15 patches 6 repliesIn review
  2. v915 patches 29 repliesSuperseded
  3. v815 patches 2 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v51 patch4 repliesSuperseded
v4 posting 2/21 patch4 repliesSuperseded
v4 posting 1/21 of 2 patches0 repliesSuperseded
v21 patch6 repliesSuperseded
v11 patch3 repliesSuperseded

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15tools/libxc: Implement writev_exact() in the same style as write_exact()tools/libxc/xc_private.c tools/libxc/xc_private.h+99 -00 replies
2/15libxc/progress: Extend the progress interfacetools/libxc/xc_domain_restore.c tools/libxc/xc_domain_save.c tools/libxc/xc_private.c +2 more+26 -151 reply
3/15tools/libxc: Migration v2 frameworktools/libxc/Makefile tools/libxc/include/xenguest.h tools/libxc/xc_domain_restore.c +4 more+86 -00 replies
4/15tools/libxc: C implementation of stream formattools/libxc/Makefile tools/libxc/xc_sr_common.c tools/libxc/xc_sr_common.h +1 more+229 -00 replies
5/15tools/libxc: generic common codetools/libxc/xc_sr_common.c tools/libxc/xc_sr_common.h+350 -00 replies
6/15tools/libxc: x86 common codetools/libxc/Makefile tools/libxc/xc_sr_common_x86.c tools/libxc/xc_sr_common_x86.h+81 -00 replies
7/15tools/libxc: x86 PV common codetools/libxc/Makefile tools/libxc/xc_sr_common_x86_pv.c tools/libxc/xc_sr_common_x86_pv.h+313 -00 replies
8/15tools/libxc: x86 PV save codetools/libxc/Makefile tools/libxc/xc_sr_common.h tools/libxc/xc_sr_save_x86_pv.c+887 -00 replies
9/15tools/libxc: x86 PV restore codetools/libxc/Makefile tools/libxc/xc_sr_common.h tools/libxc/xc_sr_restore.c +1 more+1301 -01 reply
10/15tools/libxc: x86 HVM save codetools/libxc/Makefile tools/libxc/xc_sr_common.h tools/libxc/xc_sr_save_x86_hvm.c+222 -00 replies
11/15tools/libxc: x86 HVM restore codetools/libxc/Makefile tools/libxc/xc_sr_common.h tools/libxc/xc_sr_restore_x86_hvm.c+235 -00 replies
12/15tools/libxc: common save codetools/libxc/xc_sr_save.c+776 -10 replies
13/15tools/libxc: common restore codetools/libxc/xc_sr_restore.c+503 -40 replies
14/15docs: libxc migration stream specificationdocs/specs/libxc-migration-stream.pandoc+672 -03 replies
15/15tools/libxc: Migration v2 compatibility for unmodified libxltools/libxc/Makefile tools/libxc/xc_sr_restore_x86_hvm.c tools/libxc/xc_sr_save_x86_hvm.c+140 -00 replies

Reviews trailers per patch

14 of 15 patches have a Reviewed-by or Acked-by.

PatchIan Campbell
1/15A-b
2/15A-b
3/15A-b
4/15A-b
5/15A-b
6/15A-b
7/15A-b
8/15A-b
9/15
10/15A-b
11/15A-b
12/15A-b
13/15A-b
14/15A-b
15/15A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v10 thread

Cover letter [PATCH v10 00/15] Migration v2 (libxc)

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

There are no major changes from v9. A docs subseries has been completed in parallel and removed from this series, and liberal quantities of spell checking has occured. A summary of changes: (M = modified, A = acked)

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

This series can be found on a 'saverestore2-v10' 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.

Please experiment!

~Andrew