From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: [PATCHv2 0/2] virtio: device removal fixes Date: Thu, 23 Jul 2009 14:57:16 +0300 Message-ID: <20090723115716.GA12293@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Christian Borntraeger , virtualization@lists.linux-foundation.org, Anthony Liguori , kvm@vger.kernel.org, avi@redhat.com, Carsten Otte < Return-path: Received: from mx2.redhat.com ([66.187.237.31]:42939 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753704AbZGWL63 (ORCPT ); Thu, 23 Jul 2009 07:58:29 -0400 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Here are a couple of fixes for virtio device removal. Since these fix regressions (for devices with msi-x capability), I think we need them for 2.6.31. Changes since v1: - rewrote the patches according to Rusty's comments Michael S. Tsirkin (2): virtio: fix double free_irq on device removal virtio: fix memory leak on device removal drivers/virtio/virtio_pci.c | 66 ++++++++++++++++++++++++------------------ 1 files changed, 38 insertions(+), 28 deletions(-)