The pulls makes KVM enabled by default, which is not available in MinGW(Win32) environment. Even through I put --disable-kvm switch in ./configure, I still can't get QEMU compiled:
(...) CC i386-softmmu/pc_piix.o CC i386-softmmu/kvmclock.o In file included from C:/msys/home/User/qemu/hw/kvmclock.c:20: ../linux-headers/linux/kvm.h:10:25: warning: linux/types.h: No such file or directory ../linux-headers/linux/kvm.h:12:25: warning: linux/ioctl.h: No such file or directory In file included from ../linux-headers/linux/kvm.h:13, from C:/msys/home/User/qemu/hw/kvmclock.c:20: ../linux-headers/asm/kvm.h:32: error: syntax error before "__u32" ../linux-headers/asm/kvm.h:32: warning: no semicolon at end of struct or union (...) ../linux-headers/linux/kvm.h:140: error: previous declaration of 'pad' was here ../linux-headers/asm/kvm_para.h:74: warning: data definition has no type or storage class ../linux-headers/asm/kvm_para.h:75: error: syntax error before "enabled" ../linux-headers/asm/kvm_para.h:75: warning: type defaults to `int' in declaration of `enabled' ../linux-headers/asm/kvm_para.h:75: warning: data definition has no type or storage class C:/msys/home/User/qemu/hw/kvmclock.c: In function `kvmclock_pre_save': C:/msys/home/User/qemu/hw/kvmclock.c:32: error: storage size of 'data' isn't known C:/msys/home/User/qemu/hw/kvmclock.c:38: error: invalid application of `sizeof' to incomplete type `kvm_clock_data' C:/msys/home/User/qemu/hw/kvmclock.c:32: warning: unused variable `data' C:/msys/home/User/qemu/hw/kvmclock.c: In function `kvmclock_post_load': C:/msys/home/User/qemu/hw/kvmclock.c:55: error: storage size of 'data' isn't known C:/msys/home/User/qemu/hw/kvmclock.c:59: error: invalid application of `sizeof' to incomplete type `kvm_clock_data' C:/msys/home/User/qemu/hw/kvmclock.c:55: warning: unused variable `data' C:/msys/home/User/qemu/hw/kvmclock.c: At top level: ../linux-headers/asm/kvm.h:320: error: storage size of `xcrs' isn't known ../linux-headers/linux/kvm.h:78: error: storage size of `breakpoints' isn't known ../linux-headers/linux/kvm.h:383: error: storage size of `arch' isn't known