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/
Home Products Support Community News


Re: [Xen-devel] Daemon on XEN

To: Carlo Maiero <zesster@xxxxxxxxx>
Subject: Re: [Xen-devel] Daemon on XEN
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Mon, 6 Sep 2010 11:07:07 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 06 Sep 2010 03:14:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=TMcjod8nOagc/DuPd93QjgOAorfAPARPtxt5LI+db9M=; b=OaFa84l2MA5c8iitezSUzYcHmtMY/98JlykupLiNyoyBJyH0eVC7QRhg3lNfCKH9J+ ek4oX3ptlBiSJ/RPR7d3Um8M1vpj7NdvgrqYA7FVtX/LASg7lNEtxdMiV01alHs4Mf4I doXP0vd9iKMPalq991dSG6Y3DMJBLM6/GUTMI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=ovqH7ViSxUr88GIarW3osbCW8YoKlrzDGszKZ3TCQq+tqgOHpSsNZCemSWePIMwgHU Q0CPKNJU132hCJRbX4ZUjgLlrj9cGxplB3KsRYvWRlOpqnPP/oCnx1ozKiTAItkOPNiL gwfvBQTxU663cfifXZezFY4+34y65oR7vTQcI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTim6cfbmt2CvmccxfQ4TkG_aS0dcRsEkQnt7m5+j@xxxxxxxxxxxxxx>
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>
References: <AANLkTim6cfbmt2CvmccxfQ4TkG_aS0dcRsEkQnt7m5+j@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
There are a number of programs in the tools/ directory which
communicate directly with Xen.  It generally involves:
* Xen setting up a page to write data into.  A ring structure with
producer/consumer pointers is pretty standard
* A way for dom0 to find out the page and map it
* An event channel to wake the guest program up when there's data in the ring.

You can look at tools/xentrace.c and xen/common/trace.c for an example.


On Sat, Sep 4, 2010 at 9:12 AM, Carlo Maiero <zesster@xxxxxxxxx> wrote:
> I'm making a patch to watch the security of DomU.
> i've done a patch that print to the xm dmesg the result of some interception
> of SystemCall and Hypercall.
> with "printk".
> I want to send some data outside Xen in real-time, to a device or any port.
> Which is the best way to send data
> from the hypervision to a deamon running on Dom0?
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Xen-devel mailing list

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