Avishay Traeger1 wrote:
Hello, I am trying to compile kvm-userspace on one machine (let's call it the build machine), and plan to use it on another (let's call it the target machine). Both machines are x86-64. I got a fresh copy from git:
...>
Then I configure: $ cd kvm-userspace $ ./configure --prefix=/usr/local/kvm --with-patched-kernel --disable-sdl --disable-gfx-check --kerneldir=/foo/linux-2.6.27/
...
kvm support no - (linux/kvm.h: No such file or directory, #error Invalid KVM version, #error Missing KVM capability KVM_CAP_USER_MEMORY, #error Missing KVM capability KVM_CAP_SET_TSS_ADDR, #error Missing KVM capability KVM_CAP_DESTROY_MEMORY_REGION_WORKS)
A README in the git/tgz-package with the minimal required kernel would be nice. 2.6.27 could be to old for --with-patched-kernel.
I had to copy the kvm-header files from my kernel (2.6.29-rc) over my distro suplied headerfiles (2.6.27)
-- Hans -- 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