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


[Xen-devel] When does domain builder allocate/bound DomU's XenStore port

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] When does domain builder allocate/bound DomU's XenStore port?
From: Wei LIU <liuw@xxxxxxxxx>
Date: Tue, 2 Mar 2010 15:45:18 +0800
Delivery-date: Mon, 01 Mar 2010 23:46:25 -0800
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/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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, Xen experts

As I discover in Mini-OS, the XenStore port is allocated by Dom0's
domain builder. All that a DomU has to do is binding that port in
shared_info page to its handler, and everything works. So I'm quite
interested in how the domain builder in Dom0 allocates a XenStore port
for DomU.

In the book The Definitive Guide to The Xen Hypervisor, it says that
XenStore event channel is bound by domain builder at build time. I
looked around for related code, but the code base seems to be too
large - both userland and kernel space. I've tried looking at
"tools/python" as well as "tools/libxc", but I didn't get the point.
So, what's the procedure and, which piece of code should I pay
attention to?

Thanks in advanced!

P.S. we use Xen 3.3.0 stable code.

Wei Liu

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] When does domain builder allocate/bound DomU's XenStore port?, Wei LIU <=