[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.4-testing] Fix incremental access to hypervisor console log
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1269429240 0 # Node ID b7d623c0a8bd783d41d2e7dcfefd5c727df74476 # Parent 9ec8ed715b0958774267f5aded33d8eceaa97645 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-unstable changeset: 21031:c56b885e7deb xen-unstable date: Mon Mar 15 13:19:16 2010 +0000 --- xen/drivers/char/console.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 9ec8ed715b09 -r b7d623c0a8bd xen/drivers/char/console.c --- a/xen/drivers/char/console.c Wed Mar 24 11:13:17 2010 +0000 +++ b/xen/drivers/char/console.c Wed Mar 24 11:14:00 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 |