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] Unable to include xen/sched.h

To: "Akio Takebe" <takebe_akio@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Unable to include xen/sched.h
From: "ashutosh mehra" <ashutosh.xen@xxxxxxxxx>
Date: Mon, 12 Nov 2007 16:54:01 +0530
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 12 Nov 2007 03:24:38 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=F8f2smkpjZjPQ/fYQijOVH8kSgPDthlCAOsfnEQBy/o=; b=YVagDbG9wm3tbiqttbDmSXHCNphD0l2cUfjFwFRTN5IA03I4kXr8FRUoWehyPyMXLniDZURcQgDjwal7CVqdWTP4FngEZz7wwehaBE2uFA8PR7NP3WUTLbpW2+Z4MpW3XRlCSJ/vfD1CH8Ely8mCw++gWG2Ic4fvXgzIZ2AmwCo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=JNe99qEw2FphAzCmq8yhU3CAO5ZuHLmhqI3bwWwYyyFr7bcKD45UvErrao2mL9tjCSkupWFSFKo2Hs9Ix0qFezQa8uLCBR4Fc4f5J2sKd9r3QbRbqqyyyYRGXd4QD17XIXnvBXOAmI6HEBclvmsS6agN4bbqMDtx7RcIX103aw0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <54C82503D3EA20takebe_akio@xxxxxxxxxxxxxx>
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>
References: <bb4253730711112342v2abd3760tbbd637d99cd03ffb@xxxxxxxxxxxxxx> <54C82503D3EA20takebe_akio@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

Thanks Akio for this information.
But is there any way to get domain id of each active domain in guest kernel?

Thanks in advance.
Ashutosh


On Nov 12, 2007 1:42 PM, Akio Takebe < takebe_akio@xxxxxxxxxxxxxx> wrote:
Hi,

>I'm unable to include xen/sched.h in my kernel module, although
>xen/xenbus.h, etc work fine. I get an error - xen/sched.h - no such file. I
>need to access the for_each_domain macro. Please help!
The macro and header file are for hypervisor.
Guest kernel cannot use the macro and domain_list.

Best Regards,

Akio Takebe


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