Skip to contentSkip to conversation

When does domain builder allocate/bound DomU's XenStore port?

DISCUSSION Wei LIU 1 participant 1 message Mar 2, 2010

lore
Share & tools
lore

Wei LIU

author
#0 lore raw

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
2010-03-02