Yaniv Kaul wrote:
On 7/2/2009 6:50 PM, Jon Watte wrote:
I'm attempting to set up a Windows XP virtual machine using KVM
running on 8.04 LTS x64 or a Core 2 Duo (6550). I have updated all
installed packages to the latest available as of a week ago. This is
KVM version 0.9.1 (kvm-62) on a kernel version 2.6.24-22-server.
I warmly suggest updating to a later, much newer, KVM version.
Specifically qcow2 format had corruption bugs similar to what
described below.
Y.
Thanks for the suggestion!
Unfortunately, I'm using a "long term support" version of the OS to
avoid having to screw with the machine all the time. It serves a real
purpose with real uptime requirements :-)
That being said, I tried uninstalling the provided kvm package, and
downloading and building kvm-87 from source (the kvm-87.tar.gz tarball
on Sourceforge). Unfortunately, after running configure, and make, it
errors out on the following sub-make:
root@svn:/usr/local/src/kvm-87# make
make -C /lib/modules/2.6.24-22-server/build M=`pwd` \
LINUXINCLUDE="-I`pwd`/include -Iinclude \
-Iarch/x86/include -I`pwd`/include-compat \
-include include/linux/autoconf.h \
-include `pwd`/x86/external-module-compat.h " \
"$@"
make: *** /lib/modules/2.6.24-22-server/build: No such file or
directory. Stop.
make[1]: *** [all] Error 2
make: *** [kvm-kmod] Error 2
root@svn:/usr/local/src/kvm-87#
There is no /lib/modules/2.6.24-22-server/build on my machine. Creating
it doesn't help; it just complains that the sub-make has no target or
file specified.
I looked in the build documentation on linux-kvm.org, but it does not
mention anything like this, or any particular requirements. It just says
"configure, then make," which is what I'm doing. I'm pasting the
print-out from configure below, if anyone has the opportunity to take a
look at it I'd appreciate it.
Sincerely,
jw
root@svn:/usr/local/src/kvm-87# ./configure
Error: libpci check failed
Disable KVM Device Assignment capability.
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 /usr/local/src/kvm-87
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 no
curses support no
curl support no
mingw32 support no
Audio drivers oss
Extra audio cards ac97 es1370 sb16
Mixer emulation no
VNC TLS support no
VNC SASL support no
kqemu support no
xen support no
CPU emulation yes
brlapi support no
Documentation no
NPTL support yes
vde support no
AIO support yes
IO thread no
Install blobs yes
-e KVM support yes
KVM trace support no
fdt support no
preadv support no
root@svn:/usr/local/src/kvm-87#
--
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