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

[Xen-devel] Xenbus watch firing over and over

To: xen-devel <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Xenbus watch firing over and over
From: Jacob Gorm Hansen <jacobg@xxxxxxx>
Date: Wed, 03 Jan 2007 19:16:03 +0100
Delivery-date: Wed, 03 Jan 2007 10:16:19 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:sender; b=gRZ8mz5Kn6k6W99jZ2Hxb5exNNdFjb4Nw77fkiXnG6dM4hfVx/giPSstnJHtr7d138bFgpI5Nh+wNe+aagk4f0RkRXQ3rRSrkzlUzQB/iwd5KABoyC2rt45BQ2mZmz5LraHU+wQuRmtU8IheocOk7ab0XVKRT6PMDaxxmkjyWDg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hi,
I am trying to add xenbus watch support to mini-os, but am getting into
a endless loop of watches firing over and over. Below is an excerpt from
the xenstore tracefile:

IN  0x805acc8 20070103 19:32:18 WATCH
(/local/domain/0/backend/vif/26/0/state 00043818 )
CREATE watch 0x805a8b8
OUT 0x805acc8 20070103 19:32:18 WATCH (OK )
OUT 0x805acc8 20070103 19:32:18 WATCH_EVENT
(/local/domain/0/backend/vif/26/0/state 00043818 )
IN  0x805acc8 20070103 19:32:18 UNWATCH
(/local/domain/0/backend/vif/26/0/state 00043818 )
DESTROY watch 0x805a8b8
OUT 0x805acc8 20070103 19:32:18 UNWATCH (OK )
IN  0x805acc8 20070103 19:32:18 READ
(/local/domain/0/backend/vif/26/0/state )
OUT 0x805acc8 20070103 19:32:18 READ (5)
IN  0x805acc8 20070103 19:32:18 WATCH
(/local/domain/0/backend/vif/26/0/state 00043818 )
CREATE watch 0x806af60
OUT 0x805acc8 20070103 19:32:18 WATCH (OK )
OUT 0x805acc8 20070103 19:32:18 WATCH_EVENT
(/local/domain/0/backend/vif/26/0/state 00043818 )
IN  0x805acc8 20070103 19:32:18 UNWATCH
(/local/domain/0/backend/vif/26/0/state 00043818 )
DESTROY watch 0x806af60
OUT 0x805acc8 20070103 19:32:18 UNWATCH (OK )
IN  0x805acc8 20070103 19:32:18 READ
(/local/domain/0/backend/vif/26/0/state )
OUT 0x805acc8 20070103 19:32:18 READ (5)
IN  0x805acc8 20070103 19:32:18 WATCH
(/local/domain/0/backend/vif/26/0/state 00043818 )

...

The same watch seems to be firing again and again, even though noone
appears to be writing it. Should I some ack the watch, or is this a bug
in xenstored?

This is with Xen 3.0.3.

Regards,
Jacob


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

<Prev in Thread] Current Thread [Next in Thread>