From: Abhinav Srivastava Subject: Passing data from hypervisor to dom0 application Date: Sat, 14 Jul 2007 08:16:16 +0100 (BST) Message-ID: <887838.73301.qm@web7904.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0516571911==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 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 --===============0516571911== Content-Type: multipart/alternative; boundary="0-1473037605-1184397376=:73301" Content-Transfer-Encoding: 8bit --0-1473037605-1184397376=:73301 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi there, I am working with Xen 3.0.3 in para-virtualized mode. I am intercepting guest virtual machines hypercalls inside the the hypervisor and trying to pass this data to dom0 monitoring application. To pass data, I shared a page between dom0 and hypervisor using alloc_hypertrace_buf function and used memcpy to write data on the shared page. To inform userspace application about the data, i used virq. The problem that i am facing in this whole process is since hypercall data is coming so fast userspace application is not able to show all the hypercalls. I am not able to think of exact reason of this behavior. Is it because of virq's which are sent by Xen? or Xen is sending so fast that userspace application is not able to read it? or Is it some pending interrupt problem? I would really appreciate any response in this regard. If there is any other (better way) to pass such data from hypervisor to dom0 userspace then please let me know. Thanks & Regards, Abhinav --------------------------------- Here’s a new way to find what you're looking for - Yahoo! Answers --0-1473037605-1184397376=:73301 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
Hi there,

I am working with Xen 3.0.3 in para-virtualized mode. I am intercepting guest virtual machines hypercalls inside the the hypervisor and trying to pass this data to dom0 monitoring application. To pass data, I shared a page between dom0 and hypervisor using alloc_hypertrace_buf function and used memcpy to write data on the shared page. To inform userspace application about the data, i used virq.

The problem that i am facing in this whole process is since hypercall data is coming so fast userspace application is not able to show all the hypercalls.
I am not able to think of exact reason of this behavior. Is it because of virq's which are sent by Xen? or Xen is sending so fast that userspace application is not able to read it? or Is it some pending interrupt problem?

I would really appreciate any response in this regard. If there is any other (better wa y) to pass such data from hypervisor to dom0 userspace then please let me know.

Thanks & Regards,
Abhinav


Here’s a new way to find what you're looking for - Yahoo! Answers --0-1473037605-1184397376=:73301-- --===============0516571911== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0516571911==--