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] PATCH: Jeremy's linux 2.6.33-pvops: wrong gntdev

To: Michael Brade <brade@xxxxxxx>
Subject: Re: [Xen-devel] PATCH: Jeremy's linux 2.6.33-pvops: wrong gntdev
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Mon, 2 Aug 2010 16:41:58 +0300
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 02 Aug 2010 06:42:46 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <201008012127.17188.brade@xxxxxxx>
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: <201008012127.17188.brade@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Sun, Aug 01, 2010 at 09:27:09PM +0200, Michael Brade wrote:
> Hi,
> 
> I have compiled Xen and Jeremy's linux-2.6-pvops.git kernel, branch 
> "xen/stable-2.6.33.x". This branch uses the wrong gntdev name though, Xen 
> says:
> 

I'm not sure if xen/stable-2.6.33.x has all the patches..
xen/stable-2.6.32.x is what most people use..

-- Pasi

> xen be core: xen be core: can't open gnttab device
> 
> With the following patch Xen works:
> 
> diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c
> index ddc59cc..1bd01d4 100644
> --- a/drivers/xen/gntdev.c
> +++ b/drivers/xen/gntdev.c
> @@ -594,7 +594,7 @@ static const struct file_operations gntdev_fops = {
>  
>  static struct miscdevice gntdev_miscdev = {
>         .minor        = MISC_DYNAMIC_MINOR,
> -       .name         = "gntdev",
> +       .name         = "xen/gntdev",
>         .fops         = &gntdev_fops,
>  };
>  
> 
> regards,
>   Michael
> 
> PS: I am not on this list, so in case you have any comments please CC me.
> 
> -- 
> Michael Brade;                                              KDE Developer
>   |-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
>   °--web: http://www.behindkde.org/people/michaelb/
> 
> KDE 4: Beyond Your Expectations



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


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