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

Re: [Xen-devel] console driver - How domain0 processes console messages ?

  • To: andrew.warfield@xxxxxxxxxxxx
  • From: aq <aquynh@xxxxxxxxx>
  • Date: Wed, 16 Feb 2005 17:38:46 +0900
  • Cc: Richard <judicator3@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 16 Feb 2005 08:39:17 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=qZI40wW52tss31SIdW94SaX7jc2gQJb3Z/11JMA+I4akxDkFMcHaPxAVkImDpSuZ89P2zMqG/KnlN9pHGHEsbHDsAZrNHyK/U+ghOv2+DSK0Cl1KKvTolinqjM9AOJBXNk8c+cUlPZsCUj8Cino4KBaEPjeDyfa5slN0QE2rVxs=
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>

On Wed, 16 Feb 2005 07:54:22 +0000, Andrew Warfield
<andrew.warfield@xxxxxxxxx> wrote:
> > I am trying to undestand how domain0 processes console
> > messages  (i.e messages with type CMSG_CONSOLE and subtype
> Console messages currently share the same shared memory rings that
> control messages use.  As such, ctrl_if_send_message_noblock(), is a
> non-blocking send on these rings, and ctrl_if_notify_controller() is
> an event channel notification of a control event.  Aside from console
> messages, control messages are exactly that -- things like driver
> setup and connection.  See xen/include/public/io/domain_controller.h
> for a full list.
> The control message rings are mapped to user space in dom0 through
> calls to libxc, while the notification is delivered to dom0 via
> /dev/evtchn.  If you are using stable or testing, these rings are
> accessed directly by xend, see tools/python/xen/lowlevel/xu/xu.c
> (especially the notifier and port objects therein).  If you are using
> the unstable tree, xcs (tools/xcs/xcs.c) demultiplexes the shared
> rings/event channels.

Andrew, as I understand, xcs provides xend's functionalities, and to
some extent (I expect that xcs is still under development) we can use
xcs instead of xend to manage domainUs. Is that correct?

Thank you,

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
Xen-devel mailing list



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