qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Fix io-thread build breakage of a88790a14f


From: Jan Kiszka
Subject: [Qemu-devel] [PATCH] Fix io-thread build breakage of a88790a14f
Date: Tue, 06 Jul 2010 10:49:57 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

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 <address@hidden>
---
 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"
 
-- 
1.7.1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]