aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-20 17:19:25 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-07-20 17:19:25 +0000
commit0bf9e31af1cc2915c9d250aab0ada0878df897ee (patch)
tree881f69538a0a506d2cbb41c7b0aa67bc8f4ea2bc /qemu-tool.c
parentFix build with DEBUG_PCI in pci_host.h enabled (diff)
downloadqemu-kvm-0bf9e31af1cc2915c9d250aab0ada0878df897ee.tar.gz
qemu-kvm-0bf9e31af1cc2915c9d250aab0ada0878df897ee.tar.bz2
qemu-kvm-0bf9e31af1cc2915c9d250aab0ada0878df897ee.zip
Fix most warnings (errors with -Werror) when debugging is enabled
I used the following command to enable debugging: perl -p -i -e 's/^\/\/#define DEBUG/#define DEBUG/g' * */* */*/* Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-tool.c')
-rw-r--r--qemu-tool.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-tool.c b/qemu-tool.c
index c08f061be..ba24aa2a1 100644
--- a/qemu-tool.c
+++ b/qemu-tool.c
@@ -15,11 +15,14 @@
#include "monitor.h"
#include "sysemu.h"
#include "qemu-timer.h"
+#include "qemu-log.h"
#include <sys/time.h>
QEMUClock *rt_clock;
+FILE *logfile;
+
struct QEMUBH
{
QEMUBHFunc *cb;