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] How to compile a module for dom0 or domU kernel?

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] How to compile a module for dom0 or domU kernel?
From: "ashutosh mehra" <ashutosh.xen@xxxxxxxxx>
Date: Tue, 30 Oct 2007 12:41:57 +0530
Delivery-date: Tue, 30 Oct 2007 00:12:39 -0700
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:mime-version:content-type; bh=+/6hDoofqWuAu/79smwZCuaJw2t3+XtSUcrF/a0VK0A=; b=IhXadS8egkoheYSLJ8oNNpq/B/LUvJetFjYg8KEJH0N53p/i7Lv5C8HBt1wjJum4rq6Oj8IZwwGAJVUen8YdjkhdTriudt4jtuMw73ZtFBJBuEg+FH2TLql/QtMBuUNVJPEtqAZDlMgCzdsfh31QfzmgosDaBhd05LlkN/RjjMo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=uKnIDs8464xn04o1EtCsV4755v1nhyBtpjzyZnV1LKRXZ0nTzBWCFM78GwIfy+LxZRSJi4P2edhunsI1TRkj4MzanhHTq9FIGl6TZtTd5R15yQqeV1XCadsFsXHQaW9QP6/0k8UPl60zdVUA8wKWqPofsN/LSRWEGxZGVBgDzv0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
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

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