From: Avi Kivity <avi@redhat.com>
To: AP <apxeng@gmail.com>
Cc: kvm@vger.kernel.org
Subject: Re: Unable to unload kvm-intel module
Date: Sun, 12 Jun 2011 18:35:24 +0300 [thread overview]
Message-ID: <4DF4DCBC.609@redhat.com> (raw)
In-Reply-To: <BANLkTika0Eo9j7+BVm13xi9=A17ZusY9qQ@mail.gmail.com>
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?
> 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?
> 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?
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2011-06-12 15:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <BANLkTikYgrQ0Ge-RgXOQcNv6Osr1Xs1k9Q@mail.gmail.com>
2011-06-11 0:02 ` Unable to unload kvm-intel module AP
2011-06-12 15:35 ` Avi Kivity [this message]
2011-06-13 17:11 ` AP
2011-06-14 6:25 ` Jan Kiszka
2011-06-14 8:32 ` Avi Kivity
2011-06-14 18:30 ` AP
2011-06-14 20:05 ` Jan Kiszka
2011-06-14 21:10 ` AP
2011-06-15 6:37 ` Jan Kiszka
2011-06-16 22:10 ` AP
2011-06-17 7:18 ` Jan Kiszka
2011-06-17 18:04 ` AP
2011-06-19 9:06 ` Jan Kiszka
2011-06-20 21:13 ` AP
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DF4DCBC.609@redhat.com \
--to=avi@redhat.com \
--cc=apxeng@gmail.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox