[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[win-pv-devel] [PATCH] Don't send a NUL terminator to QEMU's debug port



Logging a NUL terminator via QEMU's debug port seems to upset upstream
QEMU. It's also unnecessary anyway as QEMU will break log lines at a
newline character.

Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
 src/xencrsh/log.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/xencrsh/log.c b/src/xencrsh/log.c
index 3d4cad2..0fdb78d 100644
--- a/src/xencrsh/log.c
+++ b/src/xencrsh/log.c
@@ -279,7 +279,6 @@ __LogMessage(
     va_start(Args, Format);
     LogPrintf(LogQemuPut, "%s|%s|%s:", Module, __Mode(), Function);
     LogVPrintf(LogQemuPut, Format, Args);
-    LogQemuPut('\0');
     va_end(Args);
 
 #if DBG
-- 
2.1.1


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.