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

Re: [Xen-devel] Daemon on XEN


  • To: Carlo Maiero <zesster@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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.

 -George

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
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®.