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

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] xenbus question!
From: "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@xxxxxxx>
Date: Fri, 19 Sep 2008 18:01:34 +0800
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Fri, 19 Sep 2008 03:02:03 -0700
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/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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckaPrKBNaSSCMAgRNiR1swX8Z39lA==
Thread-topic: xenbus question!

Hi in backend driver, the backend_changed watch is called when the scripts create a new device. Once called it gets a backend_info pointer from the watch structure. Now assuming that the members be->major and be->minor are going to be zero and they have to be filled in by backend_changed routine later towards the end: -

 

I want to know under what circumstances can I expect be->major and be->minor to be non-zero values when the backend_changed routine is called on a watch.

Also please correct any wrong assumptions.

 

Bhaskar.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] xenbus question!, Jayaraman, Bhaskar <=