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] Send data from hypervisor to Dom0?

To: "Xen Developers" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Send data from hypervisor to Dom0?
From: "Jun Koi" <junkoi2004@xxxxxxxxx>
Date: Tue, 29 Aug 2006 23:16:50 +0900
Delivery-date: Tue, 29 Aug 2006 07:17:18 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=opA5gZI2z1Peuu4M19lHMmiL2epWXXAfwFhVEl/oAPCQoQD4in56wX2PQmfHaHF9GSEFprj6s9Ewx7IkOYptQUqYNWoJ7pRKlbjyk6Qhkr1CHpikJjl6eOw9fkaLDCqiIN+br/TYwI1eC/PVcZghl8tMTAfRCFRhVyYwZuk3jog=
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
Good morning,

I am working on a project that does some system profiling at
hypervisor level. I want to send some data from hypervisor to Dom0,
and each time the data to be sent are quite small: only 8 bytes.

I imagine that each time after sending data to Dom0, hypervisor needs
to somehow notify Dom0 about the data it has just sent.

I am studying Xen and it looks like I can do it in 2 ways:

1) Shared memory: hypervisor can share memory with Dom0 to send data,
like what the console code is doing. But this approach may waste too
much money, like 1 memory page for only 8 bytes data! That does not
look good to me.

2) Hypervisor writes data to XenStore, but I am not sure if it is
possible to do that from hypervisory layer? (Any hints for me on how
to do that, if it is possible?).

Either of the above 2 ways, hypervisor can notify Dom0 via
event-channel (This event-channel needs to be initialized when Dom0
boots up)

Anybody could give me some suggestions on this problem? All the help
are greatly appreciated :-)

Thanks.
Jun

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Send data from hypervisor to Dom0?, Jun Koi <=