--disable-kvm breaks build of qemu-kvm
Hi all,
the current qemu-kvm master does not compile if --disable-kvm is configured (also earlier version fail).
It fails here:
CC x86_64-softmmu/apic.o/home/erik/qemu-kvm/hw/apic.c: In function 'kvm_irqchip_deliver_nmi':/home/erik/qemu-kvm/hw/apic.c:141: error: storage size of 'klapic' isn't known/home/erik/qemu-kvm/hw/apic.c:144: warning: implicit declaration of function 'kvm_get_lapic'/home/erik/qemu-kvm/hw/apic.c:144: warning: nested extern declaration of 'kvm_get_lapic'/home/erik/qemu-kvm/hw/apic.c:155: error: 'KVM_NMI' undeclared (first use in this function)/home/erik/qemu-kvm/hw/apic.c:155: error: (Each undeclared identifier is reported only once/home/erik/qemu-kvm/hw/apic.c:155: error: for each function it appears in.) /home/erik/qemu-kvm/hw/apic.c:141: warning: unused variable 'klapic' make[1]: *** [apic.o] Error 1
make: *** [subdir-x86_64-softmmu] Error 2
I know that the use case might be a bit weired but either it should compile or the option for disabling should be removed :-)
Best regards,
Erik