From mboxrd@z Thu Jan 1 00:00:00 1970 From: "xyu.dai" Subject: How to implement a simple driver in Windows with xen? Date: Fri, 7 Aug 2009 19:49:51 -0700 (PDT) Message-ID: <24874576.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi. I'm trying to implement dual-way communication between processes in domain0 and GuestOS. I'm trying to setup a model like diagram below. Domain0 GuestOS(windows) backend-driver <--> evtchn/share page <--> frontend-driver ^ ^ | r/w | r/w v v process A process B Now, I'm wondering how to write a simple driver in windows with xen. What the frontend-driver do is just accept several userspace IRPs (read/write...) and send message to backend-driver, I don't know how to code detaily. I've read part of the win-pv drivers, but most of them are constructed in model like miniport or sth else, which is bind to some device like network,disk. Could anyone give me some advice or sample code? Thanks a lot! -- View this message in context: http://www.nabble.com/How-to-implement-a-simple-driver-in-Windows-with-xen--tp24874576p24874576.html Sent from the Xen - Dev mailing list archive at Nabble.com.