From: Wei Liu <wei.liu2@citrix.com>
To: PREETI MISHRA <2013rcp9523@mnit.ac.in>
Cc: wei.liu2@citrix.com, xen-devel@lists.xen.org
Subject: Re: Help in fixing a issue
Date: Fri, 5 Feb 2016 10:48:02 +0000 [thread overview]
Message-ID: <20160205104802.GA13808@citrix.com> (raw)
In-Reply-To: <CAMOnYFkV6ZAb+RVmvO8QfAEagNY2++JHkPcaKGB++NqkTATLpQ@mail.gmail.com>
On Fri, Feb 05, 2016 at 09:15:52PM +1100, PREETI MISHRA wrote:
> I have a patch in Xen which stores some information of VM process. I have
> another program running in Dom0 which intercept this information.
>
I'm not sure I can parse this sentence. It's too vague for what you want
to do. For one, I don't know what "VM process" is.
> i) I want to configure my patch running in Xen to send the alert
> notification to program running in Dom0 to read data, probably using event
> channels. How to configure event channel?
> ii) Which API or command will be used to read the data from patch buffer.
>
If you're writing user space program, code in QEMU might be a good
reference.
Please search for files like "xen_nic.c" in QEMU source code and start
from there.
You can also explore various Xen driver code inside Linux if you're
keen.
Another thing that might be of interest to you is a program lives in
xen.git called xentrace. It extracts buffer from hypervisor, which might
be what you need.
Wei.
> I am running xen 4.6 in ubuntu 14.04
>
> regards,
>
> Preeti
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2016-02-05 10:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-05 10:15 Help in fixing a issue PREETI MISHRA
2016-02-05 10:48 ` Wei Liu [this message]
[not found] ` <CAMOnYFn2ZH+aN1XJT=MJtrz_GfbiwoSuwFkQMg1a-porTLRR=Q@mail.gmail.com>
2016-02-05 11:08 ` Wei Liu
2016-02-05 11:21 ` Wei Liu
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=20160205104802.GA13808@citrix.com \
--to=wei.liu2@citrix.com \
--cc=2013rcp9523@mnit.ac.in \
--cc=xen-devel@lists.xen.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).