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: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Fri, 7 Nov 2008 13:13:10 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 07 Nov 2008 05:13:51 -0800
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: Mutt/1.5.9i
On Fri, Nov 07, 2008 at 09:12:04PM +1100, James Harper wrote:

> 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"
> 
> 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!

If you're interested in fixing this and have a spare space for actually
trying OpenSolaris dom0, you might like /usr/lib/xen/bin/xenstore-snoop:

interpol:~ # /usr/lib/xen/bin/xenstore-snoop
DOM  PID      TX     OP
0    103781   0      XS_GET_DOMAIN_PATH: 0 -> /local/domain/0
0    103781   0      XS_TRANSACTION_START:  -> 154491
0    103781   154491 [ERROR] XS_DIRECTORY: /local/domain/0/backend/vtpm/31 -> 
ENOENT
0    103781   154491 XS_TRANSACTION_END: T -> OK
0    103781   0      XS_TRANSACTION_START:  -> 154492
0    103781   154492 XS_READ: /local/domain/31/console/port -> 2
0    103781   154492 XS_TRANSACTION_END: T -> OK
0    103781   0      XS_TRANSACTION_START:  -> 154493
0    103781   154493 [ERROR] XS_READ: /local/domain/31/console/vnc-port -> 
ENOENT

(You can do this without restarting xenstored too.)

regards
john

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