|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Fix incremental access to hypervisor console log
"xenconsoled --log=hv" outputs duplicated messages to
/var/log/xen/hypervisor.log.
Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
diff -r 6e72f8c3c017 xen/drivers/char/console.c
--- a/xen/drivers/char/console.c Tue Mar 09 18:15:52 2010 +0000
+++ b/xen/drivers/char/console.c Fri Mar 12 19:17:26 2010 +0900
@@ -198,7 +198,7 @@ long read_console_ring(struct xen_sysctl
sofar = 0;
c = conringc;
- if ( op->incremental && ((int32_t)(op->index - c) < 0) )
+ if ( op->incremental && ((int32_t)(op->index - c) > 0) )
c = op->index;
while ( (c != conringp) && (sofar < max) )
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Fix incremental access to hypervisor console log,
Kouya Shimura <=
|
|
|
|
|