From: Keir Fraser Subject: Re: Unable to include xen/sched.h Date: Wed, 14 Nov 2007 11:24:22 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1293124889==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: ashutosh mehra Cc: Atsushi SAKAI , xen-devel@lists.xensource.com, Akio Takebe List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============1293124889== Content-type: multipart/alternative; boundary="B_3277884266_80895924" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3277884266_80895924 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit On 14/11/07 11:21, "ashutosh mehra" wrote: > I tried #include but I get an error: #error "domctl > operations are intended for use by node control tools only" > > Keir, how do I add a watch on an entire path, e.g. /local/domain/? More > importantly, how can I get the list of domains/domainIds of the currently > running domains in a module running in dom0 kernel?? Please help, I'm looking > for an answer to this since quite a few days! You can add a watch on that entire path from dom0, no problem. As for getting a list of all domains, you can only do that with sysctl. If you really need it then #define __XEN_TOOLS__ before including sysctl.h. -- Keir --B_3277884266_80895924 Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable Re: [Xen-devel] Unable to include xen/sched.h


On 14/11/07 11:21, "ashutosh mehra" <ashutosh.xen@gmail.com>= ; wrote:

I tried #include<xen/interface/sysctl.h> but I ge= t an error: #error "domctl operations are intended for use by node cont= rol tools only"

Keir, how do I add a watch on an entire path, e.g. /local/domain/? More imp= ortantly, how can I get the list of domains/domainIds of the currently runni= ng domains in a module running in dom0 kernel?? Please help, I'm looking for= an answer to this since quite a few days!

You can add a watch on that entire path from dom0, no problem. As for getti= ng a list of all domains, you can only do that with sysctl. If you really ne= ed it then #define __XEN_TOOLS__ before including sysctl.h.

 -- Keir

--B_3277884266_80895924-- --===============1293124889== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1293124889==--