Re: Unable to unload kvm-intel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 12, 2011 at 8:35 AM, Avi Kivity <avi@xxxxxxxxxx> wrote:
> On 06/11/2011 03:02 AM, AP wrote:
>>
>> I am building kvm as an external module against 2.6.38-8 (Ubuntu 11.04
>> kernel).
>
> Why?

I did not want move to the new kernel from kvm.git. I just wanted to
upgrade to the latest kvm module for some development. Is there a way
to use the kvm.git tree and only build and load kvm?

>> The kvm.ko and kvm-intel.ko build and insmod without any
>> issues. However I am able to unload the kvm-intel module. Here is the
>> lsmod listing:
>>
>> kvm_intel             135653  0 [permanent]
>> kvm                   381130  1 kvm_intel,[permanent]
>>
>> This is the error I get when I try to unload the module:
>>
>> ERROR: Removing 'kvm_intel': Device or resource busy
>>
>> Do I need to do anything special during building for
>> CONFIG_MODULE_UNLOAD to take effect?
>>
>
> No, as far as I know it should just work, and always has for me.  But it
> does say [permanent].  Any clue why in dmesg?

The only thing I see in dmesg is:
loaded kvm module (v2.6.39-8627-g2c2b5df)

>> PS: I am able to rmmod the kvm module that is packages with the Ubuntu
>> 11.04 kernel.
>
> Does it say [permanent] with these modules?

No it does not.
kvm_intel              56851  0
kvm                   367707  1 kvm_intel

> --
> error compiling committee.c: too many arguments to function
>
>
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux