From: "MINAI Katsuhito" Subject: Re: [PATCH] [1/4] put xen console message into syslog but xm dmesg is not affected Date: Tue, 11 Jul 2006 10:28:36 +0900 (JST) Message-ID: <1202.10.34.178.216.1152581316.squirrel@webmail.soft.fujitsu.com> References: <20060707170404.E3CC.MINAI@jp.fujitsu.com> <8f6c63685e997067f1bf7a39d9372c64@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain;charset=iso-2022-jp Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <8f6c63685e997067f1bf7a39d9372c64@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Mark Williamson , Hans-Christian Armingeon , xen-devel@lists.xensource.com, Akio Takebe List-Id: xen-devel@lists.xenproject.org Hi Keir Thanks for your comments. My modification is a simple reading interface that is independent from the interface of "xc_readconsolering (clear/non-clear)" that xm dmesg uses. It can be used if "clear" argument is a negative value. 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. - modification to give the responsibility of logging of the message to only one daemon. Other commands and daemons must read the logging file never to issue xc_readconsolering(). best regards, Katsuhito Minai On 2006年 7月月 11日 (火) 12:00 am, Keir Fraser said: > > On 7 Jul 2006, at 09:17, MINAI Katsuhito wrote: > >> [1/4] add read pointer to the xen console ring >> >> Signed-off-by: Katsuhito Minai > > Can you briefly explain the semantics of the modified console > interface. I'd rather change the interface cleanly than abuse the > 'clear' field -- we've broken dom0_op compatibility since 3.0.2 anyway, > so taking the cleaner route is definitely preferable. > > -- Keir > >