From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZgrJ-0003Jy-R3 for qemu-devel@nongnu.org; Tue, 26 Jan 2010 03:33:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZgrE-0003HH-BF for qemu-devel@nongnu.org; Tue, 26 Jan 2010 03:33:12 -0500 Received: from [199.232.76.173] (port=50314 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZgrA-0003GP-Fd for qemu-devel@nongnu.org; Tue, 26 Jan 2010 03:33:05 -0500 Received: from mx20.gnu.org ([199.232.41.8]:43113) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NZgr9-0008JQ-Op for qemu-devel@nongnu.org; Tue, 26 Jan 2010 03:33:03 -0500 Received: from mtagate1.uk.ibm.com ([194.196.100.161]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NZgr7-0003dJ-Un for qemu-devel@nongnu.org; Tue, 26 Jan 2010 03:33:02 -0500 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate1.uk.ibm.com (8.13.1/8.13.1) with ESMTP id o0Q8Ww8w031734 for ; Tue, 26 Jan 2010 08:32:58 GMT Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o0Q8WwSh917644 for ; Tue, 26 Jan 2010 08:32:58 GMT Received: from d06av01.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o0Q8Wwv3012265 for ; Tue, 26 Jan 2010 08:32:58 GMT From: Liran Schour Date: Tue, 26 Jan 2010 10:31:44 +0200 Message-Id: <1264494709-31848-1-git-send-email-lirans@il.ibm.com> Subject: [Qemu-devel] [PATCH v3 0/5] Reduce down time during migration without shared storage List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Liran Schour This series of patches reduce the down time of the guest during a migration without shared storage. It does that by start transfer dirty blocks in the iterative phase. In the current code transferring of dirty blocks begins only during the full phase while the guest is suspended. Therefore the guest will be suspended linear to the amount of data that was written to disk during migration. Changes from v2: - don't duplicate code by using qemu_get_clock_ns() use Paolo Bonzini patch. - Coding style issues - Remove unused constants Changes from v1: - infer storage performance by get_clock() - remove dirty max iterations, user is responsible for migration convergence - remove trailing whitespaces - minor cleanups block-migration.c | 235 +++++++++++++++++++++++++++++++++++++--------------- block.c | 16 +++- block.h | 1 + block_int.h | 1 + qemu-timer.h | 1 + vl.c | 21 +++++- 6 files changed, 203 insertions(+), 72 deletions(-) Signed-off-by: Liran Schour