From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZHPN-0005EQ-HV for qemu-devel@nongnu.org; Mon, 15 Aug 2016 08:54:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZHPI-0005cg-HV for qemu-devel@nongnu.org; Mon, 15 Aug 2016 08:54:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZHPI-0005cC-Bi for qemu-devel@nongnu.org; Mon, 15 Aug 2016 08:54:20 -0400 From: Stefan Hajnoczi Date: Mon, 15 Aug 2016 13:54:14 +0100 Message-Id: <1471265656-11227-1-git-send-email-stefanha@redhat.com> Subject: [Qemu-devel] [PATCH 0/2] virtio: fix VirtQueue->inuse field List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" , Cornelia Huck , Fam Zheng , Stefan Hajnoczi 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(+) -- 2.7.4