All of lore.kernel.org
 help / color / mirror / Atom feed
* How to implement a simple driver in Windows with xen?
@ 2009-08-08  2:49 xyu.dai
  2009-08-17 14:52 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 2+ messages in thread
From: xyu.dai @ 2009-08-08  2:49 UTC (permalink / raw)
  To: xen-devel


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-17 14:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-08  2:49 How to implement a simple driver in Windows with xen? xyu.dai
2009-08-17 14:52 ` Konrad Rzeszutek Wilk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.