[Xen-devel] PATCH: Jeremy''s linux 2.6.33-pvops: wrong gntdev

Michael Brade
Sun, 01 Aug 2010 19:27:09 -0000

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:

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