From: "ashutosh mehra" Subject: How to compile a module for dom0 or domU kernel? Date: Tue, 30 Oct 2007 12:41:57 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1104779175==" Return-path: 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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1104779175== Content-Type: multipart/alternative; boundary="----=_Part_843_32876312.1193728317845" ------=_Part_843_32876312.1193728317845 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I am trying to create a new module for a domU kernel (which FYI, includes the xen/xenbus.h header file), but I'm unable to figure out how to compile it. What should be the command and the Makefile for compiling the module? I tried compiling it like a linux kernel module, but I guess I didn't give the correct path. None of the paths I tried with -C worked. Regards, Ashutosh ------=_Part_843_32876312.1193728317845 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I am trying to create a new module for a domU kernel (which FYI, includes the xen/xenbus.h header file), but I'm unable to figure out how to compile it. What should be the command and the Makefile for compiling the module? I tried compiling it like a linux kernel module, but I guess I didn't give the correct path. None of the paths I tried with -C worked.

Regards,
Ashutosh

------=_Part_843_32876312.1193728317845-- --===============1104779175== 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 --===============1104779175==--