]> xenbits.xensource.com Git - pvdrivers/win/xenvbd.git/commitdiff
Don't send a NUL terminator to QEMU's debug port
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 2 Aug 2016 09:56:23 +0000 (10:56 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Tue, 2 Aug 2016 09:56:23 +0000 (10:56 +0100)
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@citrix.com>
src/xencrsh/log.c

index 3d4cad2577f3a93b5037679224d6fe40998b7225..0fdb78d092a6182e4075142b39324b05b2a2ae9f 100644 (file)
@@ -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