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] Sending data from Xen

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Sending data from Xen
From: Bernie Lofaso <bjlofaso@xxxxxxxxxxxxxxxx>
Date: Fri, 17 Oct 2008 15:45:39 -0500
Delivery-date: Fri, 17 Oct 2008 13:46:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (X11/20080720)
Forgive me if this is not the correct place to ask this question, but I
suspect only someone fairly intimate with the Xen source code will be
able to provide an answer.  My goal is to be able to send a stream of
data from the xen hypervisor itself to dom0.  My first thought on how to
do this was simply to have the hypervisor implement a device that could
be exported to dom0 and used just like any other split device driver. 
Unfortunately this does not appear to be a common thing and I have only
found examples of how to offer the shared pages of the device from a
domain, not from the hypervisor itself.  Although it appears that the
code sets up a grant table for the hypervisor, I cannot see that it is
actually used, nor do I see any mechanism for allocating grant entries
for use (allocating as in marking them as valid, not as in allocating
memory for them).  So I'm starting to wonder if the hypervisor uses
grant tables at all.  Soooo ....

Given my goal, am I going down the wrong track here?  Is there a
simpler, quicker, better mechanism for doing what I need to do?  Should
I perhaps be investigating xenprof instead?

If providing a device that they hypervisor can export, should I be using
the grant table mechanism or not?

Thanks for your patience.

Bernie Lofaso


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>