[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [5030] Silence vmport unless DEBUG is enabled.
From: |
Anthony Liguori |
Subject: |
[Qemu-devel] [5030] Silence vmport unless DEBUG is enabled. |
Date: |
Tue, 19 Aug 2008 19:13:07 +0000 |
Revision: 5030
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5030
Author: aliguori
Date: 2008-08-19 19:13:06 +0000 (Tue, 19 Aug 2008)
Log Message:
-----------
Silence vmport unless DEBUG is enabled.
Signed-off-by: Anthony Liguori <address@hidden>
Modified Paths:
--------------
trunk/hw/vmport.c
Modified: trunk/hw/vmport.c
===================================================================
--- trunk/hw/vmport.c 2008-08-19 19:10:38 UTC (rev 5029)
+++ trunk/hw/vmport.c 2008-08-19 19:13:06 UTC (rev 5030)
@@ -26,6 +26,8 @@
#include "pc.h"
#include "sysemu.h"
+//#define VMPORT_DEBUG
+
#define VMPORT_CMD_GETVERSION 0x0a
#define VMPORT_CMD_GETRAMSIZE 0x14
@@ -65,7 +67,9 @@
return eax;
if (!s->func[command])
{
- printf("vmport: unknown command %x\n", command);
+#ifdef VMPORT_DEBUG
+ fprintf(stderr, "vmport: unknown command %x\n", command);
+#endif
return eax;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [5030] Silence vmport unless DEBUG is enabled.,
Anthony Liguori <=