help: /dev/xen/gntdev
Hi
I'm trying to upgrade my environment from xen 3.4.0 to xen 4.0 via rpm that fits in our product. I installed new tools and xen, and it looks like I am missing a step.
In 4.0 qemu DEVOPS_FLAG_NEED_GNTDEV was added to xen_console_ops. This results in xc_gnttab_open() being called which calls xc_find_device_number() to get device nums for /dev/xen/gntdev so it can mknod. xc_find_device_number() is failing because there is no entry in the the sysfs.
So, can someone please advise how the entry is created in the sysfs? The exact path it's looking: /sys/class/misc/gntdev/dev
thanks,
Mukesh
Do you have the gntdev driver loaded (or built into your kernel)?
Jan
Quoted 1 line
Quoted 1 line
Quoted 1 line
Mukesh Rathor <[email protected]> 12.02.10 05:11 >>>
Hi
I'm trying to upgrade my environment from xen 3.4.0 to xen 4.0 via rpm that fits in our product. I installed new tools and xen, and it looks like I am missing a step.
In 4.0 qemu DEVOPS_FLAG_NEED_GNTDEV was added to xen_console_ops. This results in xc_gnttab_open() being called which calls xc_find_device_number() to get device nums for /dev/xen/gntdev so it can mknod. xc_find_device_number() is failing because there is no entry in the the sysfs.
So, can someone please advise how the entry is created in the sysfs? The exact path it's looking: /sys/class/misc/gntdev/dev
thanks,
Mukesh
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Forgot to mention, rebuilding dom0 with gntdev (CONFIG_XEN_GRANT_DEV) resolved the issue. Thanks Jan.
Mukesh
Quoted 30 lines · On Fri, 12 Feb 2010 09:50:59 +0000 "Jan Beulich" <[email protected]> wrote:
Do you have the gntdev driver loaded (or built into your kernel)?
Jan
Quoted 1 line
Quoted 1 line
Quoted 1 line
Mukesh Rathor <[email protected]> 12.02.10 05:11 >>>
Hi
I'm trying to upgrade my environment from xen 3.4.0 to xen 4.0 via rpm that fits in our product. I installed new tools and xen, and it looks like I am missing a step.
In 4.0 qemu
DEVOPS_FLAG_NEED_GNTDEVwas added toxen_console_ops. This results inxc_gnttab_open()being called which callsxc_find_device_number()to get device nums for/dev/xen/gntdevso it can mknod.xc_find_device_number()is failing because there is no entry in the the sysfs.So, can someone please advise how the entry is created in the sysfs? The exact path it's looking:
/sys/class/misc/gntdev/devthanks,
Mukesh_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel