On 12/04/2008 01:44 PM, Mark McLoughlin wrote: > Nothing takes a ref on virtio_pci, so even if you have > devices in use, rmmod will attempt to unload the module.
It unbinds the device properly as any other driver. So what's the problem here? > Fix by simply making each device take a ref on the module. > > Signed-off-by: Mark McLoughlin <[EMAIL PROTECTED]> > Reported-by: Michael Tokarev <[EMAIL PROTECTED]> > --- > drivers/virtio/virtio_pci.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html