[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v8 --for 4.6 COLO 00/25] COarse-grain LOck-stepping Virtual Machines for Non-stop Service
This patchset implemented the COLO feature for Xen. For detail/install/use of COLO feature, refer to: http://wiki.xen.org/wiki/COLO_-_Coarse_Grain_Lock_Stepping In this series, we've rebased to the latest libxl migration v2. This patchset is based on: [PATCH v4 --for 4.6 COLOPre 00/25] Prerequisite patches for COLO Only support hvm guest for now. The code is also hosted on github: https://github.com/macrosheep/xen/tree/colo-v8 Changelog from v7 to v8: 1. Rebased to the latest libxl migration v2. Changelog from v6 to v7: 1. Ported to Libxl migration v2 2. Send dirty bitmap from secondary to primary on libxc side 3. Address review comments Changelog from v5 to v6: 1. based on migration v2(libxc) 2. split the patchset into prerequisite patchset and this main patchset. Changelog from v4 to v5: 1. rebase to the latest xen upstream 2. disk replication: blktap2->qdisk 3. nic replication: colo-agent->colo-proxy Changelog from v3 to v4: 1. rebase to newest xen 2. bug fix Changlog from v2 to v3: 1. rebase to newest remus 2. add nic replication support Changlog from v1 to v2: 1. rebase to newest remus 2. add disk replication support Wen Congyang (7): docs/libxl: Introduce COLO_CONTEXT to support migration v2 colo streams secondary vm suspend/resume/checkpoint code primary vm suspend/resume/checkpoint code send store mfn and console mfn to xl before resuming secondary vm implement the cmdline for COLO Support colo mode for qemu disk COLO: use qemu block replication Yang Hongyang (18): A docs: add colo readme libxc/migration: Specification update for DIRTY_BITMAP records libxc/migration: export read_record for common use tools/libxl: add back channel support to write stream tools/libxl: write colo_context records into the stream tools/libxl: add back channel support to read stream tools/libxl: handle colo_context records in a libxl migration v2 read stream tools/libx{l,c}: introduce should_checkpoint callback tools/libx{l,c}: add postcopy/suspend callback to restore side libxc/restore: support COLO restore libxc/restore: send dirty bitmap to primary when checkpoint under colo libxc/save: support COLO save COLO proxy: implement setup/teardown of COLO proxy module COLO proxy: preresume, postresume and checkpoint COLO nic: implement COLO nic subkind setup and control colo proxy on primary side setup and control colo proxy on secondary side cmdline switches and config vars to control colo-proxy docs/README.colo | 9 + docs/man/xl.conf.pod.5 | 6 + docs/man/xl.pod.1 | 11 +- docs/misc/xl-disk-configuration.txt | 38 ++ docs/specs/libxc-migration-stream.pandoc | 24 +- docs/specs/libxl-migration-stream.pandoc | 22 +- tools/hotplug/Linux/Makefile | 1 + tools/hotplug/Linux/colo-proxy-setup | 131 ++++ tools/libxc/include/xenguest.h | 36 ++ tools/libxc/xc_sr_common.c | 50 ++ tools/libxc/xc_sr_common.h | 36 +- tools/libxc/xc_sr_restore.c | 244 +++++-- tools/libxc/xc_sr_save.c | 104 ++- tools/libxc/xc_sr_stream_format.h | 1 + tools/libxl/Makefile | 4 + tools/libxl/libxl.c | 77 ++- tools/libxl/libxl_colo.h | 42 ++ tools/libxl/libxl_colo_nic.c | 320 ++++++++++ tools/libxl/libxl_colo_proxy.c | 267 ++++++++ tools/libxl/libxl_colo_qdisk.c | 209 ++++++ tools/libxl/libxl_colo_restore.c | 1024 ++++++++++++++++++++++++++++++ tools/libxl/libxl_colo_save.c | 709 +++++++++++++++++++++ tools/libxl/libxl_create.c | 153 ++++- tools/libxl/libxl_device.c | 38 ++ tools/libxl/libxl_dm.c | 257 +++++++- tools/libxl/libxl_dom_save.c | 14 +- tools/libxl/libxl_internal.h | 217 +++++-- tools/libxl/libxl_qmp.c | 31 + tools/libxl/libxl_save_callout.c | 7 +- tools/libxl/libxl_save_msgs_gen.pl | 11 +- tools/libxl/libxl_sr_stream_format.h | 11 + tools/libxl/libxl_stream_read.c | 68 ++ tools/libxl/libxl_stream_write.c | 103 +++ tools/libxl/libxl_types.idl | 8 + tools/libxl/libxlu_disk_l.l | 5 + tools/libxl/xl.c | 3 + tools/libxl/xl.h | 1 + tools/libxl/xl_cmdimpl.c | 101 ++- tools/libxl/xl_cmdtable.c | 4 +- tools/python/xen/migration/libxl.py | 9 + 40 files changed, 4224 insertions(+), 182 deletions(-) create mode 100644 docs/README.colo create mode 100755 tools/hotplug/Linux/colo-proxy-setup create mode 100644 tools/libxl/libxl_colo.h create mode 100644 tools/libxl/libxl_colo_nic.c create mode 100644 tools/libxl/libxl_colo_proxy.c create mode 100644 tools/libxl/libxl_colo_qdisk.c create mode 100644 tools/libxl/libxl_colo_restore.c create mode 100644 tools/libxl/libxl_colo_save.c -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |