Received: from eggs.gnu.org ([2001:4830:134:3::10]:46199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVaPn-0007td-0Y for qemu-devel@nongnu.org; Tue, 16 Feb 2016 02:51:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVaPj-0000ea-Py for qemu-devel@nongnu.org; Tue, 16 Feb 2016 02:51:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVaPj-0000eQ-KT for qemu-devel@nongnu.org; Tue, 16 Feb 2016 02:51:15 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id A56FBC09FA97 for ; Tue, 16 Feb 2016 07:51:14 +0000 (UTC) From: Peter Xu Date: Tue, 16 Feb 2016 15:50:50 +0800 Message-Id: <1455609061-16279-1-git-send-email-peterx@redhat.com> Subject: [Qemu-devel] [PATCH v7 00/11] Add basic "detach" support for dump-guest-memory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: drjones@redhat.com, famz@redhat.com, armbru@redhat.com, peterx@redhat.com, lcapitulino@redhat.com, pbonzini@redhat.com, lersek@redhat.com Changes from v6: - patch 9: fix leak of local_err due to patch switch.. [Fam] - patch 10: assert "result" before use [Fam] - patch 11: add Fam's reviewed-by. For older patch, please refers to v6 series: https://lists.gnu.org/archive/html/qemu-devel/2015-12/msg01299.html Peter Xu (11): dump-guest-memory: cleanup: removing dump_{error|cleanup}(). dump-guest-memory: add "detach" flag for QMP/HMP interfaces. dump-guest-memory: using static DumpState, add DumpStatus dump-guest-memory: add dump_in_progress() helper function dump-guest-memory: introduce dump_process() helper function. dump-guest-memory: disable dump when in INMIGRATE state dump-guest-memory: add "detach" support DumpState: adding total_size and written_size fields Dump: add qmp command "query-dump" Dump: add hmp command "info dump" dump-guest-memory: add qmp event DUMP_COMPLETED docs/qmp-events.txt | 18 ++++ dump.c | 215 ++++++++++++++++++++++++++++++---------- hmp-commands-info.hx | 14 +++ hmp-commands.hx | 5 +- hmp.c | 26 ++++- hmp.h | 1 + include/qemu-common.h | 4 + include/sysemu/dump.h | 15 +++ include/sysemu/memory_mapping.h | 4 + memory_mapping.c | 3 + qapi-schema.json | 56 ++++++++++- qapi/event.json | 16 +++ qmp-commands.hx | 31 +++++- qmp.c | 14 +++ 14 files changed, 359 insertions(+), 63 deletions(-) -- 2.4.3