From: Jan Kiszka <jan.kiszka@web.de>
To: AP <apxeng@gmail.com>
Cc: Avi Kivity <avi@redhat.com>, kvm@vger.kernel.org
Subject: Re: Unable to unload kvm-intel module
Date: Sun, 19 Jun 2011 11:06:02 +0200 [thread overview]
Message-ID: <4DFDBBFA.7080303@web.de> (raw)
In-Reply-To: <BANLkTi=jmT4Esfp08OGRV=EixaG1P4PWiA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1492 bytes --]
On 2011-06-17 20:04, AP wrote:
> I tired that and it did not give me any warning. Here is the compilation output:
>
> make -C /lib/modules/2.6.38-8-generic/build M=`pwd` \
> LINUXINCLUDE="-I`pwd`/include -Iinclude \
> -Iarch/x86/include \
> -I`pwd`/include-compat -I`pwd`/x86 \
> -include include/generated/autoconf.h \
> -include `pwd`/x86/external-module-compat.h" \
> "$@"
> make[1]: Entering directory `/usr/src/linux-headers-2.6.38-8-generic'
> CC [M] /home/ap/dev/kvm/kvm-kmod/x86/vmx.o
> LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm.o
> LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm-intel.o
> LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm-amd.o
> Building modules, stage 2.
> MODPOST 3 modules
> LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm-amd.ko
> CC /home/ap/dev/kvm/kvm-kmod/x86/kvm-intel.mod.o
> LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm-intel.ko
> LD [M] /home/ap/dev/kvm/kvm-kmod/x86/kvm.ko
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-8-generic'
Do you install the built modules and then do a modprobe, or how do you
load them? Also try via
insmod /home/ap/dev/kvm/kvm-kmod/x86/kvm.ko
I don't know. Something must be broken with your Ubuntu installation.
>
> My other question is that I see "module_init(vmx_init)" and
> "module_exit(vmx_exit)" but nothing similar for kvm. Is that ok?
Yes, kvm.ko is just a library to kvm-intel/amd.ko. Those modules drive
init and cleanup.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
next prev parent reply other threads:[~2011-06-19 9:06 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
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 [this message]
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=4DFDBBFA.7080303@web.de \
--to=jan.kiszka@web.de \
--cc=apxeng@gmail.com \
--cc=avi@redhat.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