Received: from eggs.gnu.org ([2001:4830:134:3::10]:56625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWGxq-0006ut-69 for qemu-devel@nongnu.org; Thu, 18 Feb 2016 00:17:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWGxm-0002tF-WB for qemu-devel@nongnu.org; Thu, 18 Feb 2016 00:17:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWGxm-0002t9-QI for qemu-devel@nongnu.org; Thu, 18 Feb 2016 00:17:14 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 9A3CA7F6A2 for ; Thu, 18 Feb 2016 05:17:13 +0000 (UTC) From: Peter Xu Date: Thu, 18 Feb 2016 13:16:45 +0800 Message-Id: <1455772616-8668-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 v7: - patch 8: use s->dump_info.page_size not TARGET_PAGE_SIZE - patch 10: change DUMP_STATUS_MAX to DUMP_STATUS__MAX (this is to fix compile error for rebasing to latest master branch, still do not know why we need this change from generating "_MAX" to "__MAX" for enum types...) 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