From: "Mark A. Williamson" Subject: Re: simple backend, frontend Date: Thu, 11 Nov 2004 21:49:26 +0000 Message-ID: <200411112149.27110.mark.williamson@cl.cam.ac.uk> References: Reply-To: mark.williamson@cl.cam.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Deepak Manohar Cc: andrew.warfield@cl.cam.ac.uk, xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org > Wht Im confused about is - both in the netif backend and the blkif > backend the initial communication is with xend. The blkif initially > sends - BLKIF_DRIVER_STATUS_UP Correct. It's a "hello, I'm ready for further instructions" message to Xend. If Xend expects this domain to be a backend then it this is a signal that it's ready to have devices created. > Now if I need to add another custom backend using the same method as > the netif or blkif backends dont I have to modify Xend as well? Yes, that's right. Each frontend / backend pair tends to have a slightly different control message protocol, which needs to be added to Xend. Personally I don't think it's arduous to set up a new device type in Xend compared to writing the device drivers in the first place (adding a new device type is relatively short work in my experience). > Some assumptions that Im making - the frontend will be started only > after the backend is running. Seems like a reasonable assumption to make. > Im primarily going to be using this > frontend/backend for transferring large data between a user domain and > the control domain. So I will have to establish shared mem pages as > well. Interesting. Were you looking at tamper-proof logging or was that someone else? Cheers, Mark ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click