From patchwork Mon May 23 21:31:20 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Tosatti X-Patchwork-Id: 97068 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 2E38CB6FB7 for ; Tue, 24 May 2011 07:35:12 +1000 (EST) Received: from localhost ([::1]:44592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOcmL-0005jA-DJ for incoming@patchwork.ozlabs.org; Mon, 23 May 2011 17:35:09 -0400 Received: from eggs.gnu.org ([140.186.70.92]:54435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOclv-0005if-0S for qemu-devel@nongnu.org; Mon, 23 May 2011 17:34:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOclu-0001rf-4V for qemu-devel@nongnu.org; Mon, 23 May 2011 17:34:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOclt-0001rE-If for qemu-devel@nongnu.org; Mon, 23 May 2011 17:34:41 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4NLYdsN006413 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 23 May 2011 17:34:39 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p4NLYdbQ012913; Mon, 23 May 2011 17:34:39 -0400 Received: from amt.cnet (vpn-11-169.rdu.redhat.com [10.11.11.169]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p4NLYcMa004478; Mon, 23 May 2011 17:34:39 -0400 Received: from amt.cnet (amt.cnet [127.0.0.1]) by amt.cnet (Postfix) with ESMTP id 1B6596520E9; Mon, 23 May 2011 18:34:24 -0300 (BRT) Received: (from marcelo@localhost) by amt.cnet (8.14.4/8.14.4/Submit) id p4NLYNwg004597; Mon, 23 May 2011 18:34:23 -0300 Message-Id: <20110523213410.930384709@amt.cnet> User-Agent: quilt/0.48-1 Date: Mon, 23 May 2011 18:31:20 -0300 From: Marcelo Tosatti To: qemu-devel@nongnu.org References: <20110523213115.164535428@amt.cnet> Content-Disposition: inline; filename=vmstop-blockcopy X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: kwolf@redhat.com, Jes.Sorensen@redhat.com, dlaor@redhat.com, avi@redhat.com, Marcelo Tosatti Subject: [Qemu-devel] [patch 5/7] Add vmstop code for live block copy X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Marcelo Tosatti Index: qemu-block-copy/sysemu.h =================================================================== --- qemu-block-copy.orig/sysemu.h +++ qemu-block-copy/sysemu.h @@ -33,6 +33,7 @@ void qemu_del_vm_change_state_handler(VM #define VMSTOP_SAVEVM 6 #define VMSTOP_LOADVM 7 #define VMSTOP_MIGRATE 8 +#define VMSTOP_BLOCKCOPY 9 void vm_start(void); void vm_stop(int reason);