All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] [1/4] put xen console message into syslogbutxm dmesg is not affected
@ 2006-07-12  8:30 MINAI Katsuhito
  2006-07-12  8:35 ` Keir Fraser
  0 siblings, 1 reply; 4+ messages in thread
From: MINAI Katsuhito @ 2006-07-12  8:30 UTC (permalink / raw)
  To: Keir Fraser
  Cc: Akio Takebe, Hans-Christian Armingeon, xen-devel, Mark Williamson

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] [1/4] put xen console message into syslogbutxm dmesg is not affected
  2006-07-12  8:30 [PATCH] [1/4] put xen console message into syslogbutxm dmesg is not affected MINAI Katsuhito
@ 2006-07-12  8:35 ` Keir Fraser
  2006-07-12  8:49   ` Akio Takebe
  0 siblings, 1 reply; 4+ messages in thread
From: Keir Fraser @ 2006-07-12  8:35 UTC (permalink / raw)
  To: MINAI Katsuhito
  Cc: Mark Williamson, Hans-Christian Armingeon, xen-devel, Akio Takebe


On 12 Jul 2006, at 09:30, MINAI Katsuhito wrote:

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

Let's see how it looks in the patch.

  -- Keir

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] [1/4] put xen console message into syslogbutxm dmesg is not affected
  2006-07-12  8:35 ` Keir Fraser
@ 2006-07-12  8:49   ` Akio Takebe
  2006-07-12  9:24     ` Keir Fraser
  0 siblings, 1 reply; 4+ messages in thread
From: Akio Takebe @ 2006-07-12  8:49 UTC (permalink / raw)
  To: Keir Fraser, MINAI Katsuhito
  Cc: Akio Takebe, Hans-Christian Armingeon, xen-devel, Mark Williamson

Hi, Keir

I think xen need to have a pointer of xenlogd.
In the case of this implementation, 
because xenlogd manage the pointer to read dmesg,
if xenlogd restart, xenlogd read the same log 
and write the same log into /var/log/messages.

What do you think about this?

Best Regards,

Akio Takebe

>
>On 12 Jul 2006, at 09:30, MINAI Katsuhito wrote:
>
>> 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.
>
>Let's see how it looks in the patch.
>
>  -- Keir

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] [1/4] put xen console message into syslogbutxm dmesg is not affected
  2006-07-12  8:49   ` Akio Takebe
@ 2006-07-12  9:24     ` Keir Fraser
  0 siblings, 0 replies; 4+ messages in thread
From: Keir Fraser @ 2006-07-12  9:24 UTC (permalink / raw)
  To: Akio Takebe
  Cc: Hans-Christian Armingeon, xen-devel, Mark Williamson,
	MINAI Katsuhito


On 12 Jul 2006, at 09:49, Akio Takebe wrote:

> I think xen need to have a pointer of xenlogd.
> In the case of this implementation,
> because xenlogd manage the pointer to read dmesg,
> if xenlogd restart, xenlogd read the same log
> and write the same log into /var/log/messages.
>
> What do you think about this?

Could it be stored in a file, loaded when xenlogd starts and zapped on 
system startup?

  -- Keir

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-07-12  9:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-12  8:30 [PATCH] [1/4] put xen console message into syslogbutxm dmesg is not affected MINAI Katsuhito
2006-07-12  8:35 ` Keir Fraser
2006-07-12  8:49   ` Akio Takebe
2006-07-12  9:24     ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.