[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Got permission denied error when calling xenbus_printf function in the frontend driver
Hi Ian,
thank you so much again! On Mon, Aug 3, 2015 at 4:53 AM, Ian Campbell <ian.campbell@xxxxxxxxxx> wrote: On Sun, 2015-08-02 at 17:12 -0400, Jintack Lim wrote: Yes, it's the frontend. Â
After I added a few lines to give read/write permission of some keys to domU, then "permission denied" error was gone, and the driver worked fine. They look like this. xenstore-chmod /local/domain/${2}/device/${1}/0/state b xenstore-chmod /local/domain/${2}/device/${1}/0/ring-ref b xenstore-chmod /local/domain/${2}/device/${1}/0/event-channel b /* then fire up the frontend driver */
 They are created by the script on dom0. As far as I know, Â/local/domain/<domid>/device/vsimple/<devid> is automatically created when creating Â/local/domain/<domid>/device/vsimple/<devid>/backend-id in the script. I think the other one is also automatically created when creating frontend-id in the script.
vsimple is just almost empty driver doing ping-pong between dom0 and domU, but thanks for the resources! Â
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |