From: Keir Fraser Subject: Re: back/frontend drivers HelloWorld Date: Fri, 23 Sep 2005 11:00:42 +0100 Message-ID: <766473d1a313531c949034405df37ec5@cl.cam.ac.uk> References: <200509221746.32758.tiger@swsoft.mipt.ru> <5d7aca9505092302532b4e88eb@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5d7aca9505092302532b4e88eb@mail.gmail.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: NAHieu Cc: xen-devel , Anton Korenyushkin List-Id: xen-devel@lists.xenproject.org On 23 Sep 2005, at 10:53, NAHieu wrote: >> You bootstrap yourself via xenbus. You have a pre-agreed location in >> the xenstore hieararchy where the frontend driver writes key-value >> pairs containing the grant reference for the page containing the >> message rings, and an event channel for async notifications. >> > > I imagine that we can get rid of event channel, and use xenstore to > notify. That is certainly OK, but I doubt about its efficientcy. What > do you think? Very mad. It's easy to set up an inter-domain event channel betwene domains A and B: 1. A executes something like evtchn = EVTCHNOP_alloc_unbound(B) 2. A writes 'evtchn' into xenstore. 3. B reads 'evtchn' from xenstore 4. B executes something like EVTCHNOP_bind_interdomain(A,evtchn) -- Keir