From: Stefano Stabellini Subject: Re: Permission for xenstore operation on HVM Date: Tue, 20 Sep 2011 19:10:33 +0100 Message-ID: References: <1316338995760-4815691.post@n5.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <1316338995760-4815691.post@n5.nabble.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: duolvxendev Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Sun, 18 Sep 2011, duolvxendev wrote: > Hi, I'm trying to write some message using xenbus_printf to xenstore from a > debian HVM guest with pv-on-HVM driver. I got a permission denied error > return code. How should I do if I want write the message to xenstore in > kernel module? > > PS: the hypervisor is xen-3.4.2; the dom0 is CentOS 5.4 and the guest is > Debian 6; the pv-on-HVM driver is built from Alex Bligh's patch and it works > well. Where are you trying to write to? Most locations, other than /local/domain/$DOMID and subpaths, cannot be written by unprivileged guests.