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: $ git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-userspace.git Initialized empty Git repository in /bar/kvm-userspace/.git/ remote: Counting objects: 62606, done. remote: Compressing objects: 100% (14000/14000), done. remote: Total 62606 (delta 42071), reused 61561 (delta 41098) Receiving objects: 100% (62606/62606), 20.15 MiB | 515 KiB/s, done. Resolving deltas: 100% (42071/42071), done. 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/ Install prefix /usr/local/kvm BIOS directory /usr/local/kvm/share/qemu binary directory /usr/local/kvm/bin Manual directory /usr/local/kvm/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /bar/kvm-userspace/qemu 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 gprof enabled no sparse enabled no profiler no static build no -Werror enabled no SDL support no curses support yes mingw32 support no Audio drivers oss Extra audio cards ac97 es1370 sb16 Mixer emulation no VNC TLS support no kqemu support no 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) CPU emulation yes brlapi support no Documentation no NPTL support yes vde support no AIO support yes Install blobs yes 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) fdt support no The target machine is using kernel 2.6.27.8-1.1-SLES11-RC1 (Suse kernel). I compiled this kernel on the build machine, and its built sources are in /foo/linux-2.6.27/. KVM support is compiled into the kernel. Also, /foo/linux-2.6.27/include/linux/kvm.h does in fact exist. I also tried using kvm-84 from sourceforge.net. In this case, configure passes with no problems. However, when I try to run 'make': /bar/kvm-84/qemu/hw/device-assignment.c: In function 'assigned_dev_update_irqs': /bar/kvm-84/qemu/hw/device-assignment.c:511: error: storage size of 'assigned_irq_data' isn't known /bar/kvm-84/qemu/hw/device-assignment.c:519: warning: implicit declaration of function 'kvm_assign_irq' /bar/kvm-84/qemu/hw/device-assignment.c:511: warning: unused variable 'assigned_irq_data' /bar/kvm-84/qemu/hw/device-assignment.c: In function 'init_assigned_device': /bar/kvm-84/qemu/hw/device-assignment.c:541: error: storage size of 'assigned_dev_data' isn't known /bar/kvm-84/qemu/hw/device-assignment.c:594: warning: implicit declaration of function 'kvm_assign_pci_device' /bar/kvm-84/qemu/hw/device-assignment.c:541: warning: unused variable 'assigned_dev_data' /bar/kvm-84/qemu/hw/device-assignment.c: In function 'add_assigned_device': /bar/kvm-84/qemu/hw/device-assignment.c:618: warning: unused variable 'dma' make[2]: *** [device-assignment.o] Error 1 make[2]: Leaving directory `/bar/kvm-84/qemu/x86_64-softmmu' make[1]: *** [subdir-x86_64-softmmu] Error 2 make[1]: Leaving directory `/bar/kvm-84/qemu' make: *** [qemu] Error 2 Any suggestions? Thanks, Avishay -- 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