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] recommended method to exchange information between dom0/domU

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] recommended method to exchange information between dom0/domU?
From: NAHieu <nahieu@xxxxxxxxx>
Date: Wed, 3 Aug 2005 20:46:50 +0900
Delivery-date: Wed, 03 Aug 2005 11:45:14 +0000
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=PtPDP2GhCYZNZ4mXDmawHPrLSR2aDAX8ZIMtc/a1po8Ablk1cgKJpfIxLPzX9Xnh9/rlUWCecM/cFu0NC7HcDrCG/beW+HIhDQNhdzM0KTkM96JxRF0rI6bAh7Ih8sYfWmmA1ThG+fIIUF3eZfus/F+JjUvQXvs3A/Hx1BrbLS0=
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/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
Dear list,

I am writing a small kernel driver for domU, in which I want to
exchange some data with dom0. The data is not very big, but is
produced pretty often (based on kernel timer in domU). Could anybody
please advice me which method can be used ?

I am working in Xen 3, so I can imagine some methods like below:

- Use event channel to signal about new data between dom0-domU, then
use share memory to exchange the real data. This is the traditional
way in Xen 2.

- In domU, Use xenbus to signal the new data to dom0, then use share
memory to exchange real data

- Combine xenbus and grant table to exchange data (no need share
memory like above method).


Any comments and suggestions are hightly appreciated.

Thank you a lot,
Hieu

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] recommended method to exchange information between dom0/domU?, NAHieu <=