From patchwork Wed Mar 6 03:05:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Gibson X-Patchwork-Id: 10840329 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EF5A31669 for ; Wed, 6 Mar 2019 03:07:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D536D29134 for ; Wed, 6 Mar 2019 03:07:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C7DAD2BF4F; Wed, 6 Mar 2019 03:07:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E3B9127BA5 for ; Wed, 6 Mar 2019 03:07:33 +0000 (UTC) Received: from localhost ([127.0.0.1]:53335 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1Mu4-0006JF-F9 for patchwork-qemu-devel@patchwork.kernel.org; Tue, 05 Mar 2019 22:07:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1Msm-0005Kt-3D for qemu-devel@nongnu.org; Tue, 05 Mar 2019 22:06:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1Msl-0003rt-D6 for qemu-devel@nongnu.org; Tue, 05 Mar 2019 22:06:12 -0500 Received: from ozlabs.org ([203.11.71.1]:55221) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h1Msk-0003qq-GD; Tue, 05 Mar 2019 22:06:11 -0500 Received: by ozlabs.org (Postfix, from userid 1007) id 44Ddv10fVKz9sDn; Wed, 6 Mar 2019 14:06:04 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gibson.dropbear.id.au; s=201602; t=1551841565; bh=4MQYUT5Xjci+dSyk73Vm0VODZaDJAY/w2U2qUJbshJ4=; h=From:To:Cc:Subject:Date:From; b=iPSSij/ympW8pvsh19I+xOWGHMaWSZdLTEVnF5NrGZFt5qxO9dkVTgYHTZkhHs3tA xRX5KnQ6DFm3BnEOg//UZFir46eQHlEIvr6A8dQWVLVcAVxgWGuD/0CaFj0i2gGc8+ Ld8R2msw2BogiDd2eKrc3zVjkWq41eacjc7iJ4/o= From: David Gibson To: Michael Tsirkin , David Hildenbrand , Peter Maydell Date: Wed, 6 Mar 2019 14:05:58 +1100 Message-Id: <20190306030601.21986-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 203.11.71.1 Subject: [Qemu-devel] [PATCH 0/3] virtio-balloon: Several fixes to recent rework X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org, David Gibson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP A rework to the virtio-balloon driver was recently merged as f6deb6d..ee1cd00. This series addresses several minor issues in the new code. Changes since RFC: * Add a fix for the g_malloc/free mismatch reported by Coverity * Remove the not-really-useful hint-on-deflate flag David Gibson (3): virtio-balloon: Don't mismatch g_malloc()/free (CID 1399146) virtio-balloon: Fix possible guest memory corruption with inflates & deflates virtio-balloon: Restore MADV_WILLNEED hint on balloon deflate hw/virtio/virtio-balloon.c | 65 +++++++++++++++++++++++++++++++++++--- 1 file changed, 61 insertions(+), 4 deletions(-)