From: "xyu.dai" <xyu.dai@gmail.com>
To: xen-devel@lists.xensource.com
Subject: How to implement a simple driver in Windows with xen?
Date: Fri, 7 Aug 2009 19:49:51 -0700 (PDT) [thread overview]
Message-ID: <24874576.post@talk.nabble.com> (raw)
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.
next reply other threads:[~2009-08-08 2:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-08 2:49 xyu.dai [this message]
2009-08-17 14:52 ` How to implement a simple driver in Windows with xen? Konrad Rzeszutek Wilk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24874576.post@talk.nabble.com \
--to=xyu.dai@gmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.