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] Re: hvmloader/xenbus.c: How to modify or add a key-value

To: Tim Deegan <tim@xxxxxxx>
Subject: Re: [Xen-devel] Re: hvmloader/xenbus.c: How to modify or add a key-value pair in xenstore
From: Bei Guan <gbtju85@xxxxxxxxx>
Date: Mon, 15 Aug 2011 23:20:26 +0800
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Campbell <ian.campbell@xxxxxxxxxx>
Delivery-date: Mon, 15 Aug 2011 08:23:01 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VfeRn0um5szz0LWBZHLnVQ0q+s8/w+GzjdHVzentfXI=; b=DXjAjbDFgSno2AB12cPLw1wee/NgYLrguCZpH/2JqmmfaQLzn2al2cnYUtsEO29tuA JfCawUEOU/LeeCZCjbnwRW4l6XIMHM49mUD9Ac1ZAEAj9Pb2IHoMOQxFrMl0yz0wf4kx 8FFEzOtuhzJC5RmbrUjoVhZelQ5P/bxkiP1Oc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110815094435.GF11708@xxxxxxxxxxxxxxxxxxxxx>
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: <CAEQjb-RKsd0zPrb7g20CgZ3YWogerWQY0u96rKDRwMMAbUDKrQ@xxxxxxxxxxxxxx> <CAEQjb-S01mx1vZqyzfRhrm41__nMbYG2so+DBuwQh6j8htc2zw@xxxxxxxxxxxxxx> <20110815094435.GF11708@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


2011/8/15 Tim Deegan <tim@xxxxxxx>
At 17:37 +0800 on 13 Aug (1313257073), Bei Guan wrote:
> The error message here is EACCES.

Uh-huh.  So, what key and value are you trying to write?  Does your VM
have write permissions to that part of the store?
I try to write some new key-value pairs or modify some existed key in the the DomU's xenstore tree, such as /local/domain/<DomId>/<key>. The <DomId> is the ID of the DomainU.
Maybe the VM doesn't have the permission to write its own key in Xenstore. So, how to make the VM to have the permission to write the key and value in Xenstore?

Thanks,
Bei Guan


 

Tim.

--
Tim Deegan <tim@xxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

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