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] watches not working from domU userspace

To: <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] watches not working from domU userspace
From: "Cihula, Joseph" <joseph.cihula@xxxxxxxxx>
Date: Thu, 15 Dec 2005 03:33:08 -0800
Delivery-date: Thu, 15 Dec 2005 11:35:05 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Thread-index: AcYBa1JViT0muK8mReKuPm6F0X8IZA==
Thread-topic: watches not working from domU userspace
It seems that xenstore watches do not work from domU userspace (they
obviously do for drivers).

In some preliminary debugging of this, there are two aspects of the
failure:  not sending the watch to xenstore and not handling watch
events for userspace watches.  The former can be easily fixed by adding
the missing 'case XS_WATCH:'  to xenbus_dev_write() in xenbus_dev.c.
The latter is more difficult to fix.  So before I tackle it, I wanted to
see if anyone else was already working on a solution or just had some
thoughts to share on possible solutions.

Joseph Cihula
(Linux) Software Security Architect
Open Source Technology Center
Intel Corp.

*** These opinions are not necessarily those of my employer ***


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

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