From: Keir Fraser Subject: Re: back/frontend drivers HelloWorld Date: Mon, 26 Sep 2005 08:19:32 +0100 Message-ID: References: <200509221746.32758.tiger@swsoft.mipt.ru> <5d7aca9505092302532b4e88eb@mail.gmail.com> <766473d1a313531c949034405df37ec5@cl.cam.ac.uk> <5d7aca9505092410405b07022@mail.gmail.com> <1d35e5803140b27e1535e7c1c146d5c4@cl.cam.ac.uk> <5d7aca95050925092427b30189@mail.gmail.com> <5d7aca950509251838175955e@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5d7aca950509251838175955e@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 List-Id: xen-devel@lists.xenproject.org On 26 Sep 2005, at 02:38, NAHieu wrote: > I looked at some frontend code, and they all exploit the xenbus_driver > (and the needed common fields are .ids, .probe and .remove ). So it is > mandatory for all backend/frontend (regardless of real or virtual > device) to do like that ? I didn't develop xenbus or the new driver interfacing code, but I'm certain you need to interact with xenbus to some extent -- it's the only way for a guest kernel to access xenstore. I suspect you are best off taking that xenbus-interfacing code from one of the split drivers, to use as an initial template. -- Keir