From patchwork Tue Jul 6 08:49:57 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Fix io-thread build breakage of a88790a14f Date: Mon, 05 Jul 2010 22:49:57 -0000 From: Jan Kiszka X-Patchwork-Id: 57986 Message-Id: <4C32EE35.2040607@siemens.com> To: Nigel Horne Cc: Paolo Bonzini , qemu-devel@nongnu.org Nigel Horne wrote: > ./configure --enable-linux-aio --enable-io-thread --enable-kvm > make > ... > /home/njh/src/qemu/cpus.c:532: error: ‘exit_request’ undeclared (first > use in this function) > /home/njh/src/qemu/cpus.c:532: error: (Each undeclared identifier is > reported only once > /home/njh/src/qemu/cpus.c:532: error: for each function it appears in.) > > Perhaps cpus.c needs to have: > > extern volatile sig_atomic_t exit_request; Better include the header: ----------> Signed-off-by: Jan Kiszka --- cpus.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/cpus.c b/cpus.c index fcd0f09..eef0bb8 100644 --- a/cpus.c +++ b/cpus.c @@ -30,6 +30,7 @@ #include "gdbstub.h" #include "dma.h" #include "kvm.h" +#include "exec-all.h" #include "cpus.h"