Received: from eggs.gnu.org ([2001:4830:134:3::10]:33350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0mxm-00034C-N4 for qemu-devel@nongnu.org; Mon, 23 Nov 2015 03:59:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0mxi-0000tb-Ko for qemu-devel@nongnu.org; Mon, 23 Nov 2015 03:59:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0mxi-0000tV-Fn for qemu-devel@nongnu.org; Mon, 23 Nov 2015 03:59:02 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id A00E1935F0 for ; Mon, 23 Nov 2015 08:59:01 +0000 (UTC) Received: from pxdev.xzpeter.org.com (vpn1-7-145.pek2.redhat.com [10.72.7.145]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tAN8wwHx024376 for ; Mon, 23 Nov 2015 03:59:00 -0500 From: Peter Xu Date: Mon, 23 Nov 2015 16:58:54 +0800 Message-Id: <1448269136-12614-1-git-send-email-peterx@redhat.com> Subject: [Qemu-devel] [PATCH 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 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