Received: from eggs.gnu.org ([2001:4830:134:3::10]:45479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bc5Wu-0006og-JN for qemu-devel@nongnu.org; Tue, 23 Aug 2016 02:49:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bc5Wp-0004L0-L5 for qemu-devel@nongnu.org; Tue, 23 Aug 2016 02:49:48 -0400 Received: from mx-v6.kamp.de ([2a02:248:0:51::16]:41251 helo=mx01.kamp.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bc5Wp-0004KL-BJ for qemu-devel@nongnu.org; Tue, 23 Aug 2016 02:49:43 -0400 References: <1471265656-11227-1-git-send-email-stefanha@redhat.com> <20160817135833.GA8753@stefanha-x1.localdomain> From: Peter Lieven Message-ID: Date: Tue, 23 Aug 2016 08:49:35 +0200 MIME-Version: 1.0 In-Reply-To: <20160817135833.GA8753@stefanha-x1.localdomain> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-stable] [PATCH 0/2] virtio: fix VirtQueue->inuse field List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , Stefan Hajnoczi Cc: Peter Maydell , "Michael S. Tsirkin" , qemu-stable@nongnu.org, qemu-devel@nongnu.org, Cornelia Huck , marc.deslauriers@ubuntu.com Am 17.08.2016 um 15:58 schrieb Stefan Hajnoczi: > On Mon, Aug 15, 2016 at 01:54:14PM +0100, Stefan Hajnoczi wrote: >> The VirtQueue->inuse field is not always updated correctly. These patches fix >> it. >> >> Originally this series was called "virtio-balloon: fix stats vq migration" but >> Ladi Prosek posted a nicer fix called "balloon: Fix failure of updating guest >> memory status". I dropped the virtio-balloon patches. >> >> Changes from previous series: >> * Missing comma in error formatting [Fam] >> * virtio_descard() -> virtio_discard() [Michael] >> * Multi-line comment style [Cornelia] >> >> Stefan Hajnoczi (2): >> virtio: recalculate vq->inuse after migration >> virtio: decrement vq->inuse in virtqueue_discard() >> >> hw/virtio/virtio.c | 16 ++++++++++++++++ >> 1 file changed, 16 insertions(+) > I should mention this is for QEMU 2.7. These fixes are needed if the > CVE-2016-5403 patch has been applied. > > Without these patches any device that holds VirtQueueElements across > live migration will terminate with a "Virtqueue size exceeded" error > message. virtio-balloon and virtio-scsi are affected. virtio-blk > probably too but I haven't tested it. > > Stefan I noticed that these patches are not in master yet and therefore not included in the 2.7.0-rc4 tagges yesterday. Is there any issue with them? Peter