From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbZps-0007Rb-F8 for qemu-devel@nongnu.org; Sun, 21 Aug 2016 16:59:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bbZpo-0005yE-9d for qemu-devel@nongnu.org; Sun, 21 Aug 2016 16:59:15 -0400 Received: from mail-pa0-x244.google.com ([2607:f8b0:400e:c03::244]:36858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bbZpo-0005yA-2j for qemu-devel@nongnu.org; Sun, 21 Aug 2016 16:59:12 -0400 Received: by mail-pa0-x244.google.com with SMTP id ez1so6813207pab.3 for ; Sun, 21 Aug 2016 13:59:11 -0700 (PDT) From: Md Haris Iqbal Date: Mon, 22 Aug 2016 02:28:46 +0530 Message-Id: <1471813132-13836-1-git-send-email-haris.phnx@gmail.com> Subject: [Qemu-devel] [PATCH 0/6] Recovery from network failure during Postcopy Migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: dgilbert@redhat.com, Md Haris Iqbal Final Report Link : https://harisphnx.github.io Usage : Once the network fails, wait for both the sides to error out and go into recovery. This can be understood by the error messages printed at the terminal. Once both the sides are under recovery, the reconnection can be tried. First in destination side console, enter the migrate_incoming command with the new -r flaga along with the same details as used in the beginning. Then, same goes for the source side. Use the migrate command with the new -r flag and similar details as used in the beginning. Md Haris Iqbal (6): Migration: Reconnect network in case of network failure during pc migration (source) migration : General additions for migration recovery Migration: Reconnect network in case of network failure during pc migration (destination) Migration: New bitmap for postcopy migration failure Migration: Recovering pages lost due to n/w failure during pc migration (source) Migration: Recovering pages lost due to n/w failure during pc migration (destination) hmp-commands.hx | 34 +++--- hmp.c | 7 +- include/migration/migration.h | 17 +++ include/migration/qemu-file.h | 1 + include/sysemu/sysemu.h | 1 + migration/migration.c | 259 ++++++++++++++++++++++++++++++++++++++---- migration/postcopy-ram.c | 12 ++ migration/qemu-file.c | 5 + migration/ram.c | 108 +++++++++++++++++- migration/savevm.c | 52 +++++++-- qapi-schema.json | 18 ++- qemu-version.h | 1 + qmp-commands.hx | 7 +- vl.c | 4 + 14 files changed, 472 insertions(+), 54 deletions(-) create mode 100644 qemu-version.h -- 2.7.4