Skip to contentSkip to conversation

virtio: device removal fixes

PATCH New Michael S. Tsirkin 1 participant 1 message Jul 23, 2009 KVM

lore
Share & tools
lore
#0 lore raw

v2 cover virtio: device removal fixes

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(-)