ci@ci-laptop-linux:~/Desktop/kernel_etc/kvm-8$ ./configure --prefix=/usr/local/kvm --with-patched-kernel
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 /home/ci/Desktop/kernel_etc/kvm-8/qemu
C compiler /usr/bin/gcc-3.4
Host C compiler gcc
make make
install install
host CPU i386
host big endian no
target list i386-softmmu
gprof enabled no
profiler no
static build no
SDL support yes
SDL static link yes
mingw32 support no
Adlib support no
CoreAudio support no
ALSA support yes
DSound support no
FMOD support no
kqemu support no
kvm support yes
Documentation yes
ci@ci-laptop-linux:~/Desktop/kernel_etc/kvm-8$ make
make -C user
make[1]: Betrete Verzeichnis '/home/ci/Desktop/kernel_etc/kvm-8/user'
cc -I /usr/src/linux-2.6.19/include -MMD -MF ./.kvmctl.d -g -c -o kvmctl.o kvmctl.c
In file included from kvmctl.c:24:
kvmctl.h:5:23: warning: linux/kvm.h: No such file or directory
In file included from kvmctl.c:24:
kvmctl.h:43: warning: ‘struct kvm_regs’ declared inside parameter list
kvmctl.h:43: warning: its scope is only this definition or declaration, which is probably not what you want
kvmctl.h:44: warning: ‘struct kvm_regs’ declared inside parameter list
kvmctl.h:45: warning: ‘struct kvm_sregs’ declared inside parameter list
kvmctl.h:46: warning: ‘struct kvm_sregs’ declared inside parameter list
kvmctl.h:48: warning: ‘struct kvm_msr_entry’ declared inside parameter list
kvmctl.h:49: warning: ‘struct kvm_msr_entry’ declared inside parameter list
kvmctl.h:51: warning: ‘struct kvm_debug_guest’ declared inside parameter list
kvmctl.c:29:2: error: #error libkvm: userspace and kernel version mismatch
kvmctl.c: In function ‘translate’:
kvmctl.c:58: error: storage size of ‘kvm_tr’ isn’t known
kvmctl.c:64: error: ‘KVM_TRANSLATE’ undeclared (first use in this function)
kvmctl.c:64: error: (Each undeclared identifier is reported only once
kvmctl.c:64: error: for each function it appears in.)
kvmctl.c: In function ‘kvm_init’:
kvmctl.c:90: error: ‘KVM_GET_API_VERSION’ undeclared (first use in this function)
kvmctl.c: In function ‘kvm_create’:
kvmctl.c:125: error: variable ‘low_memory’ has initializer but incomplete type
kvmctl.c:126: error: unknown field ‘slot’ specified in initializer
kvmctl.c:126: warning: excess elements in struct initializer
kvmctl.c:126: warning: (near initialization for ‘low_memory’)
kvmctl.c:127: error: unknown field ‘memory_size’ specified in initializer
kvmctl.c:127: warning: excess elements in struct initializer
kvmctl.c:127: warning: (near initialization for ‘low_memory’)
kvmctl.c:128: error: unknown field ‘guest_phys_addr’ specified in initializer
kvmctl.c:128: warning: excess elements in struct initializer
kvmctl.c:128: warning: (near initialization for ‘low_memory’)
kvmctl.c:125: error: storage size of ‘low_memory’ isn’t known
kvmctl.c:130: error: variable ‘extended_memory’ has initializer but incomplete type
kvmctl.c:131: error: unknown field ‘slot’ specified in initializer
kvmctl.c:131: warning: excess elements in struct initializer
kvmctl.c:131: warning: (near initialization for ‘extended_memory’)
kvmctl.c:132: error: unknown field ‘memory_size’ specified in initializer
kvmctl.c:132: warning: excess elements in struct initializer
kvmctl.c:132: warning: (near initialization for ‘extended_memory’)
kvmctl.c:133: error: unknown field ‘guest_phys_addr’ specified in initializer
kvmctl.c:133: warning: excess elements in struct initializer
kvmctl.c:133: warning: (near initialization for ‘extended_memory’)
kvmctl.c:130: error: storage size of ‘extended_memory’ isn’t known
kvmctl.c:137: error: ‘KVM_SET_MEMORY_REGION’ undeclared (first use in this function)
kvmctl.c:157: error: ‘KVM_CREATE_VCPU’ undeclared (first use in this function)
kvmctl.c: In function ‘kvm_create_phys_mem’:
kvmctl.c:172: error: variable ‘memory’ has initializer but incomplete type
kvmctl.c:173: error: unknown field ‘slot’ specified in initializer
kvmctl.c:173: warning: excess elements in struct initializer
kvmctl.c:173: warning: (near initialization for ‘memory’)
kvmctl.c:174: error: unknown field ‘memory_size’ specified in initializer
kvmctl.c:174: warning: excess elements in struct initializer
kvmctl.c:174: warning: (near initialization for ‘memory’)
kvmctl.c:175: error: unknown field ‘guest_phys_addr’ specified in initializer
kvmctl.c:175: warning: excess elements in struct initializer
kvmctl.c:175: warning: (near initialization for ‘memory’)
kvmctl.c:176: error: unknown field ‘flags’ specified in initializer
kvmctl.c:176: error: ‘KVM_MEM_LOG_DIRTY_PAGES’ undeclared (first use in this function)
kvmctl.c:176: warning: excess elements in struct initializer
kvmctl.c:176: warning: (near initialization for ‘memory’)
kvmctl.c:172: error: storage size of ‘memory’ isn’t known
kvmctl.c:179: error: ‘KVM_SET_MEMORY_REGION’ undeclared (first use in this function)
kvmctl.c: In function ‘kvm_get_dirty_pages’:
kvmctl.c:203: error: variable ‘log’ has initializer but incomplete type
kvmctl.c:204: error: unknown field ‘slot’ specified in initializer
kvmctl.c:204: warning: excess elements in struct initializer
kvmctl.c:204: warning: (near initialization for ‘log’)
kvmctl.c:203: error: storage size of ‘log’ isn’t known
kvmctl.c:209: error: ‘KVM_GET_DIRTY_LOG’ undeclared (first use in this function)
kvmctl.c: At top level:
kvmctl.c:214: warning: ‘struct kvm_run’ declared inside parameter list
kvmctl.c: In function ‘more_io’:
kvmctl.c:216: error: dereferencing pointer to incomplete type
kvmctl.c:219: error: dereferencing pointer to incomplete type
kvmctl.c: At top level:
kvmctl.c:222: warning: ‘struct kvm_run’ declared inside parameter list
kvmctl.c: In function ‘handle_io’:
kvmctl.c:224: error: dereferencing pointer to incomplete type
kvmctl.c:225: error: storage size of ‘regs’ isn’t known
kvmctl.c:232: error: dereferencing pointer to incomplete type
kvmctl.c:233: error: ‘KVM_GET_REGS’ undeclared (first use in this function)
kvmctl.c:235: error: dereferencing pointer to incomplete type
kvmctl.c:235: error: dereferencing pointer to incomplete type
kvmctl.c:235: error: dereferencing pointer to incomplete type
kvmctl.c:237: warning: passing argument 1 of ‘more_io’ from incompatible pointer type
kvmctl.c:241: error: dereferencing pointer to incomplete type
kvmctl.c:244: error: dereferencing pointer to incomplete type
kvmctl.c:244: error: dereferencing pointer to incomplete type
kvmctl.c:248: error: dereferencing pointer to incomplete type
kvmctl.c:253: error: dereferencing pointer to incomplete type
kvmctl.c:254: error: ‘KVM_EXIT_IO_IN’ undeclared (first use in this function)
kvmctl.c:255: error: dereferencing pointer to incomplete type
kvmctl.c:280: error: ‘KVM_EXIT_IO_OUT’ undeclared (first use in this function)
kvmctl.c:281: error: dereferencing pointer to incomplete type
kvmctl.c:303: error: dereferencing pointer to incomplete type
kvmctl.c:304: error: dereferencing pointer to incomplete type
kvmctl.c:305: error: dereferencing pointer to incomplete type
kvmctl.c:309: error: dereferencing pointer to incomplete type
kvmctl.c:311: error: dereferencing pointer to incomplete type
kvmctl.c:316: error: ‘KVM_SET_REGS’ undeclared (first use in this function)
kvmctl.c:322: error: dereferencing pointer to incomplete type
kvmctl.c: At top level:
kvmctl.c:326: warning: ‘struct kvm_run’ declared inside parameter list
kvmctl.c: In function ‘handle_debug’:
kvmctl.c:328: error: dereferencing pointer to incomplete type
kvmctl.c: At top level:
kvmctl.c:331: warning: ‘struct kvm_regs’ declared inside parameter list
kvmctl.c:332: error: conflicting types for ‘kvm_get_regs’
kvmctl.h:43: error: previous declaration of ‘kvm_get_regs’ was here
kvmctl.c: In function ‘kvm_get_regs’:
kvmctl.c:333: error: dereferencing pointer to incomplete type
kvmctl.c:334: error: ‘KVM_GET_REGS’ undeclared (first use in this function)
kvmctl.c: At top level:
kvmctl.c:337: warning: ‘struct kvm_regs’ declared inside parameter list
kvmctl.c:338: error: conflicting types for ‘kvm_set_regs’
kvmctl.h:44: error: previous declaration of ‘kvm_set_regs’ was here
kvmctl.c: In function ‘kvm_set_regs’:
kvmctl.c:339: error: dereferencing pointer to incomplete type
kvmctl.c:340: error: ‘KVM_SET_REGS’ undeclared (first use in this function)
kvmctl.c: At top level:
kvmctl.c:343: warning: ‘struct kvm_sregs’ declared inside parameter list
kvmctl.c:344: error: conflicting types for ‘kvm_get_sregs’
kvmctl.h:45: error: previous declaration of ‘kvm_get_sregs’ was here
kvmctl.c: In function ‘kvm_get_sregs’:
kvmctl.c:345: error: dereferencing pointer to incomplete type
kvmctl.c:346: error: ‘KVM_GET_SREGS’ undeclared (first use in this function)
kvmctl.c: At top level:
kvmctl.c:349: warning: ‘struct kvm_sregs’ declared inside parameter list
kvmctl.c:350: error: conflicting types for ‘kvm_set_sregs’
kvmctl.h:46: error: previous declaration of ‘kvm_set_sregs’ was here
kvmctl.c: In function ‘kvm_set_sregs’:
kvmctl.c:351: error: dereferencing pointer to incomplete type
kvmctl.c:352: error: ‘KVM_SET_SREGS’ undeclared (first use in this function)
kvmctl.c: In function ‘kvm_get_msr_list’:
kvmctl.c:360: error: storage size of ‘sizer’ isn’t known
kvmctl.c:364: error: ‘KVM_GET_MSR_INDEX_LIST’ undeclared (first use in this function)
kvmctl.c:367: error: dereferencing pointer to incomplete type
kvmctl.c:367: error: dereferencing pointer to incomplete type
kvmctl.c:372: error: dereferencing pointer to incomplete type
kvmctl.c: At top level:
kvmctl.c:384: warning: ‘struct kvm_msr_entry’ declared inside parameter list
kvmctl.c:385: error: conflicting types for ‘kvm_get_msrs’
kvmctl.h:48: error: previous declaration of ‘kvm_get_msrs’ was here
kvmctl.c: In function ‘kvm_get_msrs’:
kvmctl.c:386: error: dereferencing pointer to incomplete type
kvmctl.c:386: error: dereferencing pointer to incomplete type
kvmctl.c:393: error: dereferencing pointer to incomplete type
kvmctl.c:394: error: dereferencing pointer to incomplete type
kvmctl.c:395: error: dereferencing pointer to incomplete type
kvmctl.c:395: error: dereferencing pointer to incomplete type
kvmctl.c:396: error: ‘KVM_GET_MSRS’ undeclared (first use in this function)
kvmctl.c:398: error: dereferencing pointer to incomplete type
kvmctl.c:398: error: dereferencing pointer to incomplete type
kvmctl.c: At top level:
kvmctl.c:405: warning: ‘struct kvm_msr_entry’ declared inside parameter list
kvmctl.c:406: error: conflicting types for ‘kvm_set_msrs’
kvmctl.h:49: error: previous declaration of ‘kvm_set_msrs’ was here
kvmctl.c: In function ‘kvm_set_msrs’:
kvmctl.c:407: error: dereferencing pointer to incomplete type
kvmctl.c:407: error: dereferencing pointer to incomplete type
kvmctl.c:414: error: dereferencing pointer to incomplete type
kvmctl.c:415: error: dereferencing pointer to incomplete type
kvmctl.c:416: error: dereferencing pointer to incomplete type
kvmctl.c:416: error: dereferencing pointer to incomplete type
kvmctl.c:417: error: ‘KVM_SET_MSRS’ undeclared (first use in this function)
kvmctl.c: In function ‘kvm_show_regs’:
kvmctl.c:427: error: storage size of ‘regs’ isn’t known
kvmctl.c:431: error: ‘KVM_GET_REGS’ undeclared (first use in this function)
kvmctl.c: At top level:
kvmctl.c:449: warning: ‘struct kvm_run’ declared inside parameter list
kvmctl.c: In function ‘handle_cpuid’:
kvmctl.c:451: error: storage size of ‘regs’ isn’t known
kvmctl.c:455: error: dereferencing pointer to incomplete type
kvmctl.c:461: error: dereferencing pointer to incomplete type
kvmctl.c:462: error: dereferencing pointer to incomplete type
kvmctl.c: At top level:
kvmctl.c:466: warning: ‘struct kvm_run’ declared inside parameter list
kvmctl.c: In function ‘handle_mmio’:
kvmctl.c:468: error: dereferencing pointer to incomplete type
kvmctl.c:469: error: dereferencing pointer to incomplete type
kvmctl.c:472: error: dereferencing pointer to incomplete type
kvmctl.c:473: error: dereferencing pointer to incomplete type
kvmctl.c:488: error: dereferencing pointer to incomplete type
kvmctl.c:502: error: dereferencing pointer to incomplete type
kvmctl.c: At top level:
kvmctl.c:507: warning: ‘struct kvm_run’ declared inside parameter list
kvmctl.c:512: warning: ‘struct kvm_run’ declared inside parameter list
kvmctl.c: In function ‘handle_halt’:
kvmctl.c:514: error: dereferencing pointer to incomplete type
kvmctl.c: In function ‘kvm_run’:
kvmctl.c:521: error: variable ‘kvm_run’ has initializer but incomplete type
kvmctl.c:522: error: unknown field ‘vcpu’ specified in initializer
kvmctl.c:522: warning: excess elements in struct initializer
kvmctl.c:522: warning: (near initialization for ‘kvm_run’)
kvmctl.c:523: error: unknown field ‘emulated’ specified in initializer
kvmctl.c:523: warning: excess elements in struct initializer
kvmctl.c:523: warning: (near initialization for ‘kvm_run’)
kvmctl.c:524: error: unknown field ‘mmio_completed’ specified in initializer
kvmctl.c:524: warning: excess elements in struct initializer
kvmctl.c:524: warning: (near initialization for ‘kvm_run’)
kvmctl.c:521: error: storage size of ‘kvm_run’ isn’t known
kvmctl.c:528: error: ‘KVM_RUN’ undeclared (first use in this function)
kvmctl.c:540: error: ‘KVM_EXIT_TYPE_FAIL_ENTRY’ undeclared (first use in this function)
kvmctl.c:545: error: ‘KVM_EXIT_TYPE_VM_EXIT’ undeclared (first use in this function)
kvmctl.c:547: error: ‘KVM_EXIT_UNKNOWN’ undeclared (first use in this function)
kvmctl.c:553: error: ‘KVM_EXIT_EXCEPTION’ undeclared (first use in this function)
kvmctl.c:559: error: ‘KVM_EXIT_IO’ undeclared (first use in this function)
kvmctl.c:562: error: ‘KVM_EXIT_CPUID’ undeclared (first use in this function)
kvmctl.c:565: error: ‘KVM_EXIT_DEBUG’ undeclared (first use in this function)
kvmctl.c:568: error: ‘KVM_EXIT_MMIO’ undeclared (first use in this function)
kvmctl.c:571: error: ‘KVM_EXIT_HLT’ undeclared (first use in this function)
kvmctl.c: In function ‘kvm_inject_irq’:
kvmctl.c:589: error: storage size of ‘intr’ isn’t known
kvmctl.c:593: error: ‘KVM_INTERRUPT’ undeclared (first use in this function)
kvmctl.c: At top level:
kvmctl.c:596: warning: ‘struct kvm_debug_guest’ declared inside parameter list
kvmctl.c:597: error: conflicting types for ‘kvm_guest_debug’
kvmctl.h:51: error: previous declaration of ‘kvm_guest_debug’ was here
kvmctl.c: In function ‘kvm_guest_debug’:
kvmctl.c:598: error: dereferencing pointer to incomplete type
kvmctl.c:600: error: ‘KVM_DEBUG_GUEST’ undeclared (first use in this function)
make[1]: *** [kvmctl.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/ci/Desktop/kernel_etc/kvm-8/user'
make: *** [user] Fehler 2