WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Permission for xenstore operation on HVM

To: duolvxendev <duolvxendev@xxxxxxxx>
Subject: Re: [Xen-devel] Permission for xenstore operation on HVM
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Tue, 20 Sep 2011 19:10:33 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 20 Sep 2011 11:11:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1316338995760-4815691.post@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1316338995760-4815691.post@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
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.

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

<Prev in Thread] Current Thread [Next in Thread>