diff options
author | Juha Riihimäki <juha.riihimaki@nokia.com> | 2009-12-03 15:56:02 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-12-18 23:23:56 +0100 |
commit | cec0fba0b3b7134ad4167b0e43d087943fa30a2c (patch) | |
tree | 4b329772d739f760d4db60f87e857eaa6b75f1ef /exec.c | |
parent | 993b81d11123593f86c9c960113ec83947b9f1e5 (diff) | |
download | qemu-cec0fba0b3b7134ad4167b0e43d087943fa30a2c.tar.gz qemu-cec0fba0b3b7134ad4167b0e43d087943fa30a2c.tar.bz2 qemu-cec0fba0b3b7134ad4167b0e43d087943fa30a2c.zip |
Fix win32 log file location
/tmp doesn't exist under win32. Ease the pain of win32 development slightly.
From: Juha Riihimäki <juha.riihimaki@nokia.com>
Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |