From patchwork Mon Jun 6 16:55:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Tosatti X-Patchwork-Id: 99037 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 48BC9B6FAE for ; Tue, 7 Jun 2011 06:58:35 +1000 (EST) Received: from localhost ([::1]:54258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTgsZ-0006x8-Co for incoming@patchwork.ozlabs.org; Mon, 06 Jun 2011 16:58:31 -0400 Received: from eggs.gnu.org ([140.186.70.92]:44565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTdsJ-0007zk-Fu for qemu-devel@nongnu.org; Mon, 06 Jun 2011 13:46:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTdsH-0003AS-Um for qemu-devel@nongnu.org; Mon, 06 Jun 2011 13:46:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTdsH-0003A9-F5 for qemu-devel@nongnu.org; Mon, 06 Jun 2011 13:46:01 -0400 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 (8.14.4/8.14.4) with ESMTP id p56HjWVs006522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 6 Jun 2011 13:46:00 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p56GxEYD028331; Mon, 6 Jun 2011 12:59:14 -0400 Received: from amt.cnet (vpn1-5-196.ams2.redhat.com [10.36.5.196]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p56GxCuY017697; Mon, 6 Jun 2011 12:59:13 -0400 Received: from amt.cnet (amt.cnet [127.0.0.1]) by amt.cnet (Postfix) with ESMTP id 18113652171; Mon, 6 Jun 2011 13:59:03 -0300 (BRT) Received: (from marcelo@localhost) by amt.cnet (8.14.5/8.14.5/Submit) id p56Gwu5e030328; Mon, 6 Jun 2011 13:58:56 -0300 Message-Id: <20110606165823.787253282@amt.cnet> User-Agent: quilt/0.48-1 Date: Mon, 06 Jun 2011 13:55:41 -0300 From: Marcelo Tosatti To: qemu-devel@nongnu.org References: <20110606165536.581119615@amt.cnet> Content-Disposition: inline; filename=vmstop-blockcopy X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 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, Marcelo Tosatti , Jes.Sorensen@redhat.com, dlaor@redhat.com, avi@redhat.com, jdenemar@redhat.com 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);