Message ID | 37fd6f07196ff098c8a97025589a89bde5be3ce9.1259836046.git.riku.voipio@nokia.com |
---|---|
State | New |
Headers | show |
diff --git a/exec.c b/exec.c index eb1ee51..3f33b08 100644 --- 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;