[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Send data from hypervisor to Dom0?


  • To: "Xen Developers" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.