Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

debigging helpers

  • Loading branch information...
commit 9898cd466b987a0e1d597f07d6edee24241a8781 1 parent 66cfcce
@suihkulokki suihkulokki authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 exec.c
View
6 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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.