[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Term prompt for qemu
From: |
J. Mayer |
Subject: |
Re: [Qemu-devel] [PATCH] Term prompt for qemu |
Date: |
18 Nov 2003 09:11:59 +0100 |
exec.c.diff
cpu_reset_log implementation
diff -urNbB -x CVS qemu-current/exec.c qemu/exec.c
--- qemu-current/exec.c Tue Nov 18 06:51:07 2003
+++ qemu/exec.c Sun Nov 16 04:10:03 2003
@@ -710,6 +710,15 @@
logfilename = strdup(filename);
}
+void cpu_reset_log (void)
+{
+ if (logfile != NULL) {
+ fclose(logfile);
+ logfile = NULL;
+ }
+ loglevel = 0;
+}
+
/* mask must never be zero */
void cpu_interrupt(CPUState *env, int mask)
{
Re: [Qemu-devel] [ADD] PPC processor emulation, J. Mayer, 2003/11/18
Re: [Qemu-devel] [ADD] PPC processor emulation, J. Mayer, 2003/11/18
[Qemu-devel] [PATCH] Term prompt for qemu, J. Mayer, 2003/11/18