From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws4qp-0003dV-9J for qemu-devel@nongnu.org; Wed, 04 Jun 2014 02:39:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ws4qi-0003gs-GT for qemu-devel@nongnu.org; Wed, 04 Jun 2014 02:39:07 -0400 Received: from mail-pd0-x232.google.com ([2607:f8b0:400e:c02::232]:44316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ws4qi-0003gV-72 for qemu-devel@nongnu.org; Wed, 04 Jun 2014 02:39:00 -0400 Received: by mail-pd0-f178.google.com with SMTP id v10so5657592pde.23 for ; Tue, 03 Jun 2014 23:38:58 -0700 (PDT) From: Sanidhya Kashyap Date: Wed, 4 Jun 2014 12:08:23 +0530 Message-Id: <1401863911-5947-1-git-send-email-sanidhya.iiith@gmail.com> Subject: [Qemu-devel] [PATCH v2 0/8] Obtain dirty bitmap via VM logging List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu list Cc: Sanidhya Kashyap , "Dr. David Alan Gilbert" , Juan Quintela Hi, The following patches introduce the support of dirty bitmap logging and dumping to a specified file. Still, some work is still left in the area of runstates that I will try to work on after discussing this patch series. v1 --> v2: * Added two new run states to avoid simultaneous execution of both migration and bitmap dump process. * Removed FILE pointer usage. * Dumping the data only in machine-readable format. * Tried to rectify mistakes of the previous version. Sanidhya Kashyap (8): enable sharing of the function between migration and bitmap dump bitmap dump code via QAPI framework RunState: added two new flags for bitmap dump and migration process bitmap dump process with runstates hmp interface for dirty bitmap dump cancel mechanism for an already running dump bitmap process set the frequency of the dump bitmap process python script for extracting bitmap from a binary file arch_init.c | 19 +-- hmp-commands.hx | 45 +++++++ hmp.c | 33 ++++++ hmp.h | 3 + include/exec/ram_addr.h | 4 + migration.c | 7 ++ qapi-schema.json | 42 ++++++- qmp-commands.hx | 76 ++++++++++++ savevm.c | 290 ++++++++++++++++++++++++++++++++++++++++++++++ scripts/extract-bitmap.py | 64 ++++++++++ vl.c | 29 ++++- 11 files changed, 602 insertions(+), 10 deletions(-) create mode 100755 scripts/extract-bitmap.py -- 1.8.3.1