From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0o2T-0002o6-9S for qemu-devel@nongnu.org; Mon, 23 Nov 2015 05:08:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0o2Q-0007rn-1E for qemu-devel@nongnu.org; Mon, 23 Nov 2015 05:08:01 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0o2P-0007ri-SL for qemu-devel@nongnu.org; Mon, 23 Nov 2015 05:07:57 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 6720891DCA for ; Mon, 23 Nov 2015 10:07:57 +0000 (UTC) From: Peter Xu Date: Mon, 23 Nov 2015 18:07:40 +0800 Message-Id: <1448273262-13845-1-git-send-email-peterx@redhat.com> Subject: [Qemu-devel] [PATCH REPOST 0/2] 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: pbonzini@redhat.com, armbru@redhat.com, peterx@redhat.com, lcapitulino@redhat.com Currently, dump-guest-memory supports synchronous operation only. This patch sets are adding "detach" support for it (just like "migrate -d" for migration). When "-d" is provided, dump-guest-memory command will return immediately without hanging user. This should be useful when the backend storage for the dump file is very slow. Peter Xu (2): dump-guest-memory: add "detach" flag for QMP/HMP interfaces dump-guest-memory: add basic "detach" support. dump.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++----- hmp-commands.hx | 5 +++-- hmp.c | 3 ++- include/sysemu/dump.h | 4 ++++ qapi-schema.json | 3 ++- qmp-commands.hx | 4 ++-- qmp.c | 9 ++++++++ vl.c | 3 +++ 8 files changed, 81 insertions(+), 12 deletions(-) -- 2.4.3