xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Michael Brade <brade@kde.org>
To: xen-devel@lists.xensource.com
Subject: PATCH: Jeremy's linux 2.6.33-pvops: wrong gntdev
Date: Sun, 1 Aug 2010 21:27:09 +0200	[thread overview]
Message-ID: <201008012127.17188.brade@kde.org> (raw)


[-- Attachment #1.1: Type: Text/Plain, Size: 1033 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

             reply	other threads:[~2010-08-01 19:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-01 19:27 Michael Brade [this message]
2010-08-02 13:41 ` PATCH: Jeremy's linux 2.6.33-pvops: wrong gntdev Pasi Kärkkäinen
2010-08-02 15:26 ` Jeremy Fitzhardinge
2010-08-04 17:30   ` Michael Brade
2010-08-04 17:54     ` Jeremy Fitzhardinge
2010-08-04 18:43       ` Michael Brade
2010-08-04 19:21         ` Jeremy Fitzhardinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201008012127.17188.brade@kde.org \
    --to=brade@kde.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).