From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baY9D-000716-La for qemu-devel@nongnu.org; Thu, 18 Aug 2016 20:59:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1baY99-00007Y-Gq for qemu-devel@nongnu.org; Thu, 18 Aug 2016 20:58:58 -0400 Received: from mail-db5eur01on0115.outbound.protection.outlook.com ([104.47.2.115]:64064 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baY98-00007T-Vo for qemu-devel@nongnu.org; Thu, 18 Aug 2016 20:58:55 -0400 From: Roman Kagan Date: Thu, 18 Aug 2016 21:27:50 +0300 Message-ID: <1471544874-26996-1-git-send-email-rkagan@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH 0/4] virtio-balloon: assorted fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Denis V. Lunev" , Roman Kagan , "Michael S. Tsirkin" This patchset addresses a few problems discovered when analyzing aborts of (an older version of) QEMU with backported commit afd9096eb1882f23929f5b5c177898ed231bac66 "virtio: error out if guest exceeds virtqueue size". Those problems are present in master, too, except that they don't trigger an abort and are thus not as easy to notice. Roman Kagan (4): virtio: assert on ->inuse underflow virtio-balloon: make stats virtqueue length 1 virtio-balloon: don't restart stats timer in callback virtio-balloon: keep collecting stats on save/restore Cc: "Michael S. Tsirkin" hw/virtio/virtio-balloon.c | 49 +++++++++++++++++++++----------------- hw/virtio/virtio.c | 3 ++- include/hw/virtio/virtio-balloon.h | 1 + 3 files changed, 30 insertions(+), 23 deletions(-) -- 2.7.4