projects
/
qemu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
66cfcce
)
debigging helpers
author
Riku Voipio
<riku.voipio@nokia.com>
Tue, 1 Sep 2009 13:48:29 +0000
(16:48 +0300)
committer
Riku Voipio
<riku.voipio@nokia.com>
Wed, 9 Sep 2009 13:32:47 +0000
(16:32 +0300)
exec.c
patch
|
blob
|
history
diff --git
a/exec.c
b/exec.c
index
c5bc13a
..
85686f4
100644
(file)
--- a/
exec.c
+++ b/
exec.c
@@
-192,7
+192,11
@@
static int io_mem_watch;
#endif
/* log support */
+#ifdef WIN32
+static const char *logfilename = "qemu.log";
+#else
static const char *logfilename = "/tmp/qemu.log";
+#endif
FILE *logfile;
int loglevel;
static int log_append = 0;
@@
-2894,7
+2898,7
@@
static int get_free_io_mem_idx(void)
io_mem_used[i] = 1;
return i;
}
-
+ fprintf(stderr, "RAN out out io_mem_idx, max %d !\n", IO_MEM_NB_ENTRIES);
return -1;
}