[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] [1/4] put xen console message into syslog but xm dmesg is not affected

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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.