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] monitoring all xenstore 'traffic'

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] monitoring all xenstore 'traffic'
From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 7 Nov 2008 11:22:28 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 07 Nov 2008 02:22:54 -0800
Domainkey-signature: s=s768; d=fujitsu-siemens.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:From:To:Subject:Date:User-Agent: References:In-Reply-To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-Disposition:Message-Id; b=GajAdJPoYCM4F4vhCNcGRUDfaqrOoNcRzy9XsByiKilDrAPFLTe25H8u nLwxLeXVYh3l6uxK2TRRDWkFaSnhU25xUzY6ohGgp3ZBeYOwL9AaWDEzT u8fCcQcWv7/jjcd;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D0154FAFC@trantor>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AEC6C66638C05B468B556EA548C1A77D0154FAFC@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 20070904.708012)
Am Freitag, 7. November 2008 schrieb James Harper:
> Is there a way that I can monitor all xenstore activity?
>
> The sort of thing I am after is output like:
>
> D2045: /local/domain/2045/device/vbd/state set to "4"
> D0: /local/domain/2045/device/vbd/state watch fired
> D0: /local/domain/2045/device/vbd/state read value "4"

You must set
export XENSTORED_TRACE=1
before starting xend. You can search for XENSTORED_TRACE in /usr/bin/xend.
Then a trace file /var/log/xen/xenstored-trace.log is written.
You will see such lines:
IN  0x516a70 20081010 08:20:33 GET_DOMAIN_PATH (1 )
OUT 0x516a70 20081010 08:20:33 GET_DOMAIN_PATH (/local/domain/1 )
IN  0x5373e0 20081010 08:20:33 READ (/local/domain/1/serial/0/ring-ref )
OUT 0x5373e0 20081010 08:20:33 ERROR (ENOENT )

Dietmar.

>
> etc
>
> OpenSolaris Dom0 doesn't appear to want to talk to the Windows GPLPV
> drivers and I suspect that I'm doing something wrong in the xenbus
> arena... monitoring exactly what I do vs what a Linux PV DomU does would
> be educational!
>
> Thanks
>
> James
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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