From patchwork Wed Sep 21 15:51:21 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yonit Halperin X-Patchwork-Id: 115808 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 DF9EBB6F76 for ; Thu, 22 Sep 2011 02:10:41 +1000 (EST) Received: from localhost ([::1]:50978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6PNd-0000QM-RF for incoming@patchwork.ozlabs.org; Wed, 21 Sep 2011 12:10:37 -0400 Received: from eggs.gnu.org ([140.186.70.92]:50687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6P5U-0000vx-ID for qemu-devel@nongnu.org; Wed, 21 Sep 2011 11:51:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6P5O-0000Ca-MK for qemu-devel@nongnu.org; Wed, 21 Sep 2011 11:51:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6P5O-0000CP-EH for qemu-devel@nongnu.org; Wed, 21 Sep 2011 11:51:46 -0400 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 (8.14.4/8.14.4) with ESMTP id p8LFpjJG000362 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 21 Sep 2011 11:51:45 -0400 Received: from dhcp-0-9.tlv.redhat.com (dhcp-3-166.tlv.redhat.com [10.35.3.166]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p8LFpKuI029127; Wed, 21 Sep 2011 11:51:43 -0400 From: Yonit Halperin To: spice-devel@freedesktop.org Date: Wed, 21 Sep 2011 18:51:21 +0300 Message-Id: <1316620283-8330-12-git-send-email-yhalperi@redhat.com> In-Reply-To: <1316620283-8330-1-git-send-email-yhalperi@redhat.com> References: <1316620283-8330-1-git-send-email-yhalperi@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 209.132.183.28 Cc: Yonit Halperin , alevy@redhat.com, qemu-devel@nongnu.org, kraxel@redhat.com Subject: [Qemu-devel] [PATCH spice-server 11/13] server: turn spice_server_migrate_start into a valid call 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 We will add a qemu call to spice_server_migrate_start when migration starts. For now, it does nothing, but we may need this notification in the future. Signed-off-by: Yonit Halperin --- server/reds.c | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/server/reds.c b/server/reds.c index 6d2269c..76aa0ed 100644 --- a/server/reds.c +++ b/server/reds.c @@ -5143,16 +5143,10 @@ SPICE_GNUC_VISIBLE int spice_server_migrate_info(SpiceServer *s, const char* des SPICE_GNUC_VISIBLE int spice_server_migrate_start(SpiceServer *s) { ASSERT(reds == s); - - if (1) { - /* seamless doesn't work, fixing needs protocol change. */ - return -1; - } - + red_printf(""); if (!reds->mig_spice) { return -1; } - reds_mig_started(); return 0; }