[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Fix incremental access to hypervisor console log
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1268659156 0 # Node ID c56b885e7debd08169fb67b90278dd1c9cee8ad4 # Parent bce90bb3ce2cfdb61479f33b4d55cea1060010eb 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> --- xen/drivers/char/console.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r bce90bb3ce2c -r c56b885e7deb xen/drivers/char/console.c --- a/xen/drivers/char/console.c Mon Mar 15 13:17:38 2010 +0000 +++ b/xen/drivers/char/console.c Mon Mar 15 13:19:16 2010 +0000 @@ -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-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |