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/
Home Products Support Community News


Re: [Xen-devel] module in domU

To: __gary <zjunhf@xxxxxxxx>
Subject: Re: [Xen-devel] module in domU
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Mon, 6 Jun 2011 10:51:04 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 06 Jun 2011 07:52:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1306313824584-4424653.post@xxxxxxxxxxxxx>
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>
References: <1306313824584-4424653.post@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
On Wed, May 25, 2011 at 01:57:04AM -0700, __gary wrote:
> Hi, everyone. 
> I wrote a module using xen's grant mechanism to realize a share memory
> function between domU and dom0.

Why not use the existing code? There is a gntdev and gntalloc in 2.6.39
you can use that will do this. Google for gntalloc.

> The module in domU side can be compiled but can not be inserted using
> "insmod".
> The error message shows that some xen grant mechanism function is not
> defined.
> my opinion
> 1) do i need a pv-domU kernel, then the xen grant mechanism is included?
> 2) compile the xen module into the kernel( please kindly tell me how to do
> this)
> --
> View this message in context: 
> http://xen.1045712.n5.nabble.com/module-in-domU-tp4424653p4424653.html
> Sent from the Xen - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>