WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.4-testing] Fix incremental access to hypervisor c

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] Fix incremental access to hypervisor console log
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 24 Mar 2010 04:30:57 -0700
Delivery-date: Wed, 24 Mar 2010 04:31:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.4-testing] Fix incremental access to hypervisor console log, Xen patchbot-3.4-testing <=