From patchwork Tue Mar 13 08:56:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Wang X-Patchwork-Id: 146367 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 0DC59B6EEA for ; Tue, 13 Mar 2012 20:01:40 +1100 (EST) Received: from localhost ([::1]:60139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Nbq-0007D9-Oh for incoming@patchwork.ozlabs.org; Tue, 13 Mar 2012 05:01:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7NbE-0005tH-Rq for qemu-devel@nongnu.org; Tue, 13 Mar 2012 05:01:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7Nb8-0007dY-P0 for qemu-devel@nongnu.org; Tue, 13 Mar 2012 05:00:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Nb8-0007dT-Gl for qemu-devel@nongnu.org; Tue, 13 Mar 2012 05:00:50 -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 q2D90lOR003034 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 13 Mar 2012 05:00:47 -0400 Received: from amd-6168-8-1.englab.nay.redhat.com (amd-6168-8-1.englab.nay.redhat.com [10.66.104.52]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q2D90ikr015866; Tue, 13 Mar 2012 05:00:45 -0400 To: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com, mst@redhat.com, rusty@rustcorp.com.au, qemu-devel@nongnu.org, quintela@redhat.com From: Jason Wang Date: Tue, 13 Mar 2012 16:56:13 +0800 Message-ID: <20120313085613.10958.87617.stgit@amd-6168-8-1.englab.nay.redhat.com> In-Reply-To: <20120313085500.10958.92659.stgit@amd-6168-8-1.englab.nay.redhat.com> References: <20120313085500.10958.92659.stgit@amd-6168-8-1.englab.nay.redhat.com> User-Agent: StGit/0.16-1-g60c4 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [V4 PATCH 1/5] net: reset the count after rounds of announcing 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 As it would be called after continue a stopped guest. Signed-off-by: Jason Wang --- savevm.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/savevm.c b/savevm.c index 80be1ff..5b59826 100644 --- a/savevm.c +++ b/savevm.c @@ -144,6 +144,7 @@ static void qemu_announce_self_once(void *opaque) } else { qemu_del_timer(timer); qemu_free_timer(timer); + count = SELF_ANNOUNCE_ROUNDS; } }