[5030] Silence vmport unless DEBUG is enabled.
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 <[email protected]>
Modified Paths:
--------------
trunk/hw/vmport.c
Modified: trunk/hw/vmport.c
===================================================================
hw/vmport.c +5 -1
@@ -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; }