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

xen-devel

[Top] [All Lists]

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

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [1/4] put xen console message into syslog butxm dmesg is not affected
From: "MINAI Katsuhito" <minai@xxxxxxxxxxxxxx>
Date: 2006年7月11日 17:34:31 +0900 (JST)
Cc: Akio Takebe <takebe_akio@xxxxxxxxxxxxxx>, Hans-Christian Armingeon <mog.johnny@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Delivery-date: 2006年7月11日 01:35:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
In-reply-to: <16abe03fcc7c287db04726221b99349a@xxxxxxxxxxxx>
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>
References: <20060707170404.E3CC.MINAI@xxxxxxxxxxxxxx><8f6c63685e997067f1bf7a39d9372c64@xxxxxxxxxxxx><12021034.178.216.1152581316.squirrel@xxxxxxxxxxxxxxxxxxxxxxxx> <16abe03fcc7c287db04726221b99349a@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.3a
Hi keir
Thank you for advice.
I'd like to attempt to change xc_readconsolering() interface.
Please let me confirm the following for my understanding.
- Xen should return the index of the oldest character on the console
 ring when the index that the caller specified is older than
 the range of the console ring.
- I think that Xen would return index position of "last" byte
 returned, not first byte.
Best regards,
Katsuhito Minai
On 11 Jul 2006, at 03:42 pm, Keir Fraser said:
>
> On 11 Jul 2006, at 02:28, MINAI Katsuhito wrote:
>
>> However, I also think that the "clear" interface is unnecessary.
>> I think that better solution is one of the following idea:
>> - modification to have independent read pointer of the buffer
>> for each commands and daemons just like reading usual file.
>> But, this might be difficult for hypervisor.
>
> Yes, this would be good. The caller could pass a start index and a
> length. Xen then returns characters from that index, up to length bytes
> (if available). If the given index is too far behind Xen's producer
> index, Xen would provide bytes from index position (producer -
> ring_size). In either case Xen would return index position of first
> byte returned.
>
> -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH] cleanup "struct xenbus_driver" , Gerd Hoffmann
Next by Date: Re: [Xen-devel] [PATCH] console: allow a panic to be triggered from the xen console , Horms
Previous by Thread: Re: [Xen-devel] [PATCH] [1/4] put xen console message into syslog but xm dmesg is not affected , Keir Fraser
Next by Thread: Re: [Xen-devel] [PATCH] [1/4] put xen console message into syslog butxm dmesg is not affected , Keir Fraser
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /