| To: | James Pendergrass <james.pendergrass@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [Xen-devel] XenStore permissions from kernel space |
| From: | Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> |
| Date: | 2006年6月15日 14:51:52 +0100 |
| Cc: | xen-devel@xxxxxxxxxxxxxxxxxxx |
| Delivery-date: | 2006年6月15日 06:52:08 -0700 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxx |
| In-reply-to: | <04F469B6-3ECB-425A-8065-5D24F7B58779@xxxxxxxxxx> |
| 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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| References: | <04F469B6-3ECB-425A-8065-5D24F7B58779@xxxxxxxxxx> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
On 15 Jun 2006, at 14:37, James Pendergrass wrote:
I've been working on a kernel module that shares some pages between to domUs. In the course of doing this I had the need to communicate information via XenStore (e.g., the grant references), but for a number of reasons did not want to use the full XenBus registration/probe/hotplug...system (it is too dynamic, and requires a kick off event from dom0 rather than allowing self organizing shares between domUs). I established that the only thing preventing my setup of domA writing to a node in XenStore and domB reading it was the lack of the xs_get/set_permissions function in the kernel level xenbus/xenstore interface. So I ported thoseIn your scheme, how do you discover the domid(s) of the domains you need to communicate with? Is that done with some simple start-of-day config info written into xenstore by domain0?functions down from the userland xenstore libraries.I expect that others may appreciate the ability to set XenStore perms from kernel space, so here's a patch.
-- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Xen-devel] XenStore permissions from kernel space , James Pendergrass |
|---|---|
| Next by Date: | [Xen-devel] Does hardware VMX kill hardware passthrough to non-VMX domains? , George Styles |
| Previous by Thread: | [Xen-devel] XenStore permissions from kernel space , James Pendergrass |
| Next by Thread: | Re: [Xen-devel] XenStore permissions from kernel space , James Pendergrass |
| Indexes: | [Date] [Thread] [Top] [All Lists] |