On 01/03/2017 18:58, Peter Maydell wrote: > Fails to build, ppc64, aarch64 (and probably others): > > In file included from /home/pm215/qemu/include/qemu/osdep.h:36:0, > from /home/pm215/qemu/kvm-all.c:16: > /home/pm215/qemu/kvm-all.c: In function ‘kvm_cpu_exec’: > /home/pm215/qemu/kvm-all.c:1995:22: error: ‘have_sigbus_pending’ > undeclared (first use in this function) > if (unlikely(have_sigbus_pending)) { > ^ > /home/pm215/qemu/include/qemu/compiler.h:66:43: note: in definition of > macro ‘unlikely’ > #define unlikely(x) __builtin_expect(!!(x), 0) > ^ > /home/pm215/qemu/kvm-all.c:1995:22: note: each undeclared identifier > is reported only once for each function it appears in > if (unlikely(have_sigbus_pending)) { > ^ > /home/pm215/qemu/include/qemu/compiler.h:66:43: note: in definition of > macro ‘unlikely’ > #define unlikely(x) __builtin_expect(!!(x), 0)
Are you sure you updated the tag? Line 1995 here is: #ifdef KVM_HAVE_MCE_INJECTION and that error would have come from v3. Paolo