From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8onQ-00009u-D2 for qemu-devel@nongnu.org; Mon, 12 Aug 2013 05:52:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8onK-00076J-ES for qemu-devel@nongnu.org; Mon, 12 Aug 2013 05:52:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8onK-00075y-6n for qemu-devel@nongnu.org; Mon, 12 Aug 2013 05:52:10 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7C9q8cL025522 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 12 Aug 2013 05:52:08 -0400 Date: Mon, 12 Aug 2013 11:52:06 +0200 From: Kevin Wolf Message-ID: <20130812095206.GB3983@dhcp-200-207.str.redhat.com> References: <1376298489-13391-1-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1376298489-13391-1-git-send-email-stefanha@redhat.com> Subject: Re: [Qemu-devel] [PATCH for-1.6] virtio: clear signalled_used_valid when switching from dataplane List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org, "Michael S. Tsirkin" Am 12.08.2013 um 11:08 hat Stefan Hajnoczi geschrieben: > When the dataplane thread stops, its vring.c implementation synchronizes > vring state back to virtio.c so we can continue emulating the virtio > device. > > This patch ensures that virtio.c's signalled_used_valid flag is reset so > that we do not suppress guest notifications due to stale signalled_used > values. > > Suggested-by: Kevin Wolf > Signed-off-by: Stefan Hajnoczi Reviewed-by: Kevin Wolf