From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: Help in fixing a issue Date: Fri, 5 Feb 2016 10:48:02 +0000 Message-ID: <20160205104802.GA13808@citrix.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: PREETI MISHRA <2013rcp9523@mnit.ac.in> Cc: wei.liu2@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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