WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Passing data from hypervisor to dom0 application

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Passing data from hypervisor to dom0 application
From: Abhinav Srivastava <abhinavs_iitkgp@xxxxxxxxxxx>
Date: Sat, 14 Jul 2007 08:16:16 +0100 (BST)
Delivery-date: Sat, 14 Jul 2007 00:14:09 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=kkzOZX1dwdlUA6ZtIj7iG02lte4+D76zTtD9gtS7K0Ybb4xJbRswgw/9RmDyiWpN6o0DmSVXR1EgoZuu4jY3CoKIoUY4InuZ7CGUunqIr9WxBOgTK47uLyYL8VOTjMVNoTwUF7wQsI/jj/9bQxcUK5hUZHFWtf95HxpQX5qjBBA=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>