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-devel

Re: [Xen-devel] [PATCH] [1/4] put xen console message into syslogbutxm

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [1/4] put xen console message into syslogbutxm dmesg is not affected
From: "MINAI Katsuhito" <minai@xxxxxxxxxxxxxx>
Date: Wed, 12 Jul 2006 17:30:45 +0900 (JST)
Cc: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>, Hans-Christian Armingeon <mog.johnny@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Delivery-date: Wed, 12 Jul 2006 01:31:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.3a
Hi Keir,

On 12 Jul 2006, at 12:07 am, Keir Fraser said:
> > - I think that Xen would return index position of "last" byte
> >   returned, not first byte.
>
> Seems less natural to me, but we could do it either way. Clearly first
> can be computed from last, and vice versa.
>
> Also, keeping the facility to clear the console buffer seems sensible
> (so that 'xm dmesg' can continue to support the normal Linux dmesg -c
> option) -- but having a separate clear_console_ring dom0_op for that
> would be cleaner.

Thanks for your advice.
If Xen return the index of the 'first' byte, it seems to return
the same value when an out-of-range index is specified.
But in out-of-range case, Xen give the caller no console message.
I understood that the Xen interface became simple than returning
the 'last' byte.


Best regards,
Katsuhito Minai




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel