kvm88 compile errors with 2.6.31.1
Hi,
a one-off question, when I compile kvm88 with kernel 2.6.31.1 I get the following make errors :
In file included from /tmp/tgz/kvm-88/kvm/kernel/x86/mmutrace.h:220,
from /tmp/tgz/kvm-88/kvm/kernel/x86/mmu.c:184:
include/trace/define_trace.h:53:43: error: ./mmutrace.h: No such file or directory make[4]: *** [/tmp/tgz/kvm-88/kvm/kernel/x86/mmu.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from /tmp/tgz/kvm-88/kvm/kernel/x86/trace.h:355,
from /tmp/tgz/kvm-88/kvm/kernel/x86/x86.c:83:
include/trace/define_trace.h:53:43: error: arch/x86/kvm/trace.h: No such file or directory make[4]: *** [/tmp/tgz/kvm-88/kvm/kernel/x86/x86.o] Error 1
make[3]: *** [/tmp/tgz/kvm-88/kvm/kernel/x86] Error 2
make[2]: *** [_module_/tmp/tgz/kvm-88/kvm/kernel] Error 2
make[1]: *** [all] Error 2
make: *** [kvm-kmod] Error 2
here's my configure :
./configure \
--prefix=/usr/local/ \
--kerneldir=/lib/modules/2.6.31.1/build
Help would be appreciated, also tried compiling kvm87, same problems...
configure output :
Install prefix/usr/local/ BIOS directory /usr/local//share/qemu binary directory /usr/local//bin Manual directory /usr/local//share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /tmp/tgz/kvm-88 C compiler gcc Host C compiler gcc ARCH_CFLAGS -m64 make make install install host CPU x86_64 host big endian no target list x86_64-softmmu tcg debug enabled no gprof enabled no sparse enabled no strip binaries yes profiler no static build no -Werror enabled no SDL support yes SDL static link no curses support yes curl support yes mingw32 support no Audio drivers oss Extra audio cards ac97 es1370 sb16 Mixer emulation no VNC TLS support yes
TLS
CFLAGS
TLS LIBS
-lgnutls VNC SASL support yes
SASL
CFLAGS
SASL LIBS
-lsasl2 kqemu support no xen support no CPU emulation yes
brlapi support no Documentation yes NPTL support yes vde support no AIO support yes IO thread no Install blobs yes KVM support yes
KVM trace support no
fdt support no
preadv support no
thx
Benjamin
Quoted 22 lines · Benjamin Budts
Hi,
a one-off question, when I compile kvm88 with kernel 2.6.31.1 I get the following make errors :
In file included from
/tmp/tgz/kvm-88/kvm/kernel/x86/mmutrace.h:220, from/tmp/tgz/kvm-88/kvm/kernel/x86/mmu.c:184:include/trace/define_trace.h:53:43: error: ./mmutrace.h: No such file or directory
make[4]: *** [/tmp/tgz/kvm-88/kvm/kernel/x86/mmu.o] Error 1 make[4]: *** Waiting for unfinished jobs....
In file included from/tmp/tgz/kvm-88/kvm/kernel/x86/trace.h:355, from/tmp/tgz/kvm-88/kvm/kernel/x86/x86.c:83:include/trace/define_trace.h:53:43: error:arch/x86/kvm/trace.h: No such file or directory
make[4]: *** [/tmp/tgz/kvm-88/kvm/kernel/x86/x86.o] Error 1 make[3]: *** [/tmp/tgz/kvm-88/kvm/kernel/x86] Error 2 make[2]: *** [_module_/tmp/tgz/kvm-88/kvm/kernel] Error 2 make[1]: *** [all] Error 2
make: *** [kvm-kmod] Error 2
Quoted 8 lines
here's my configure :
./configure \
--prefix=/usr/local/ \
--kerneldir=/lib/modules/2.6.31.1/buildHelp would be appreciated, also tried compiling kvm87, same problems...
Hi Benjamin,
See this thread:
http://www.mail-archive.com/[email protected]/msg22775.html
I believe the patches have already been applied, but there have not been any releases since then.
Cheers,
Jorge
Jorge Lucángeli Obes wrote:
[]
Quoted 6 lines
See this thread:
http://www.mail-archive.com/[email protected]/msg22775.html
I believe the patches have already been applied, but there have not been any releases since then.
qemu-kvm-0.11.0 is out for a long time.
/mjt
2009/10/21 Michael Tokarev <[email protected]>:
Quoted 11 lines
Jorge Lucángeli Obes wrote:
[]Quoted 7 lines
See this thread:
http://www.mail-archive.com/[email protected]/msg22775.html
I believe the patches have already been applied, but there have not been any releases since then.
qemu-kvm-0.11.0 is out for a long time.
It's true, I was actually refering to the kvm-XX snapshots. Does qemu-kvm-0.11.0 include Jan's patches? I figured they would be on the kvm-kmod side.
Cheers,
Jorge
Quoted 7 lines · Jorge Lucángeli Obes
2009/10/21 Michael Tokarev <[email protected]>:
Quoted 6 lines
Jorge Lucángeli Obes wrote:
[]Quoted 4 lines
See this thread:
Quoted 7 lines
Quoted 3 lines
Quoted 2 lines
I believe the patches have already been applied, but there have not been any releases since then.
qemu-kvm-0.11.0 is out for a long time.
It's true, I was actually refering to the kvm-XX snapshots. Does qemu-kvm-0.11.0 include Jan's patches? I figured they would be on the kvm-kmod side.
2.6.31 kernel includes more recent bits than kvm-kmod-88.. ;)
/mjt
Hi all,
a late response of my part, but I got it partially working under slackware 13.0 with the qemu-kvm-0.11.0.tar.gz (it compiles now without
errors.)
When I start my virtual machine in *windowed mode* it boots fine,It installs the OS I want but everything is black around the windowed screen, it seems like it started up in full screen but minimized ? I can't access my KDE 4 desktop anymore, switching with the rebooting the VM or closing it is impossible, I have to reboot my whole system. :-/
Help would be appreciated.
# uname -a Linux r2d2 2.6.31.5 #1 SMP Wed Oct 28 12:10:47 CET 2009 x86_64 Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz GenuineIntel GNU/Linux
I used the following to boot it (selfmade rc script:
source vars.sh (containing the variables)
/sbin/modprobe kvm_intel/sbin/modprobe kvm
vm_start() {
ARGS="-hda $IMG \
-cdrom $CD \
-boot d \
-m $MEM \
-smp $CPU \
-localtime \
-no-acpi \
-no-reboot \
-pidfile $PID \
-full-screen \
-k nl-be"
Quoted 20 lines · Michael Tokarev
Quoted 7 lines · Jorge Lucángeli Obes
2009/10/21 Michael Tokarev <[email protected]>:
Quoted 6 lines
Jorge Lucángeli Obes wrote:
[]Quoted 4 lines
See this thread:
Quoted 7 lines
Quoted 3 lines
Quoted 2 lines
I believe the patches have already been applied, but there have not been any releases since then.
qemu-kvm-0.11.0 is out for a long time.
It's true, I was actually refering to the kvm-XX snapshots. Does qemu-kvm-0.11.0 include Jan's patches? I figured they would be on the kvm-kmod side.
2.6.31 kernel includes more recent bits than kvm-kmod-88.. ;)
/mjt