Thanks Avi for the rhel-5.2.patch. I was able to successfully apply it
to kvm-70. In addition I found myself having to make one more small
modification for RHEL 5.2

I found myself also having to modify the kernel/external-module-compat.h
at line 670 (as per emails from Andrea Arcangeli on June 18th) 

and change 
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) &&
defined(CONFIG_KALLSYMS)

to

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17) &&
defined(CONFIG_KALLSYMS)

So now I can successfully build KVM-70 on RHEL 5.2 for the AMD-V, and
load the modules in the kernel (2.6.18-92.1.6.el5

[EMAIL PROTECTED] ~]# lsmod | grep kvm
[EMAIL PROTECTED] ~]# modprobe kvm
[EMAIL PROTECTED] ~]# modprobe kvm_amd
[EMAIL PROTECTED] ~]# lsmod | grep kvm
kvm_amd                62888  0 
kvm                   178416  1 kvm_amd
[EMAIL PROTECTED] ~]# 

The only thing that I seem to be halting my progression right now is
that I cannot find the qemu-kvm helper program. It doesn't seem like it
was compiled and installed. Yet I find now qemu-system-x86_64 instead.

[EMAIL PROTECTED] ~]# which qemu-kvm
/usr/bin/which: no qemu-kvm in
(/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

[EMAIL PROTECTED] ~]# which qemu-nbd
/usr/local/bin/qemu-nbd

[EMAIL PROTECTED] ~]# ll /usr/local/bin/qem*
-rwxr-xr-x 1 root root  128616 Jul  1 02:54 /usr/local/bin/qemu-img
-rwxr-xr-x 1 root root  130808 Jul  1 02:54 /usr/local/bin/qemu-nbd
-rwxr-xr-x 1 root root 6740783 Jul  1
02:54 /usr/local/bin/qemu-system-x86_64

I'm able to start a virtual machine with qemu-system-x86_64. Should I
stop looking for a qemu-kvm ?

Thanks for any pointers.
Erik Bussink


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to