From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbqOy-0006fe-7f for qemu-devel@nongnu.org; Mon, 13 May 2013 06:54:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UbqOo-0000V4-Ov for qemu-devel@nongnu.org; Mon, 13 May 2013 06:54:44 -0400 Received: from ozlabs.org ([2402:b800:7003:1:1::1]:59977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UbqOo-0000Ub-54 for qemu-devel@nongnu.org; Mon, 13 May 2013 06:54:34 -0400 From: David Gibson Date: Mon, 13 May 2013 20:54:18 +1000 Message-Id: <1368442465-14363-2-git-send-email-david@gibson.dropbear.id.au> In-Reply-To: <1368442465-14363-1-git-send-email-david@gibson.dropbear.id.au> References: <1368442465-14363-1-git-send-email-david@gibson.dropbear.id.au> Subject: [Qemu-devel] [PATCH 1/8] iommu: Fix compile error in ioapic.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: alex.williamson@redhat.com, pbonzini@redhat.com Cc: aik@ozlabs.ru, qemu-devel@nongnu.org, David Gibson , agraf@suse.de, mst@redhat.com The iommu tree introduced a build bug into hw/i386/kvm/ioapic.c. Looks like a messed up copy and paste. Signed-off-by: David Gibson --- hw/i386/kvm/ioapic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/kvm/ioapic.c b/hw/i386/kvm/ioapic.c index e3c29da..fe24d26 100644 --- a/hw/i386/kvm/ioapic.c +++ b/hw/i386/kvm/ioapic.c @@ -108,7 +108,7 @@ static void kvm_ioapic_put(IOAPICCommonState *s) abort(); } - memory_region_unref(mrs.mr); + memory_region_unref(&s->io_memory); } static void kvm_ioapic_reset(DeviceState *dev) -- 1.7.10.4