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

[Xen-devel] [PATCH v3 00/21] Xenstore stub domain

Changes from v2:
 - configuration support added to mini-os build system
 - add mini-os support for conditionally compiling frontends, xenbus
 - XENMEM_remove_from_physmap moved out of arch-specific code
 - use uint32_t for virqs
 - warn when dropping grant v2-only flags when switching versions
 - IOCTL_XENBUS_BACKEND_SETUP name changed so userspace can implement compat
 - ioctl now returns -EEXIST if xenstored has already been connected
 - various cosmetic cleanups, shuffling

Changes from v1:
 - set_virq_handler implemented in libxc
 - added custom domain builder for xenstored
 - xenstore/console domain IDs now pulled from xenstore
 - migration support when using split xenstored (untested, should work)
 - slightly less intrusive NO_SOCKETS xenstored patch
   (still has many ifdefs to avoid pulling in socket headers or symbols)
 - virq handlers removed from dying domain when clearing event channels
 - dummy XSM module restricts getdomaininfo similar to no-XSM case
 - formatting/type fixups
 - partial ioctl compatibility with legacy IOCTL_XENBUS_ALLOC

To start xenstored, run:

tools/xenstore/init-xenstore-domain stubdom/mini-os-x86_64-xenstore/mini-os 20 

This will populate the xenstore domid key /tool/xenstore/domid

Other notes:

The console for xenstored is not set up by init-xenstore-domain. If the
hypervisor is compiled with VERBOSE or debug=y, it will be visible on
the hypervisor serial console (or ring buffer if enabled with
console_to_ring). The xenstore stub domain itself supports console
output, and init-xenstore-domain could be extended to daemonize and
spool this output to a log file. The normal xenconsole daemon cannot be
used here due to the possibility of a deadlock.


[PATCH 01/21] xen: reinstate previously unused
[PATCH 02/21] xen: allow global VIRQ handlers to be delegated to
[PATCH 03/21] xen: change virq parameters from int to uint32_t
 - new in v3: cleanup as suggested by Jan Beulich
[PATCH 04/21] xen: use XSM instead of IS_PRIV for getdomaininfo
[PATCH 05/21] xen: Preserve reserved grant entries when switching

[PATCH 06/21] tools/libxl: pull xenstore/console domids from
[PATCH 07/21] lib{xc,xl}: Seed grant tables with xenstore and

[PATCH 08/21] mini-os: avoid crash if no console is provided
[PATCH 09/21] mini-os: remove per-fd evtchn limit
[PATCH 10/21] mini-os: create app-specific configuration
[PATCH 11/21] mini-os: make frontends and xenbus optional
[PATCH 12/21] mini-os: fix list.h include guard name
 - #10-12 are new in v3, replace v2's #8 and part of #13

[PATCH 13/21] xenstored: use grant references instead of
[PATCH 14/21] xenstored: add NO_SOCKETS compilation option
[PATCH 15/21] xenstored support for in-memory rather than FS based
[PATCH 16/21] xenstored: support running in minios stubdom
[PATCH 17/21] stubdom: enable xenstored build
[PATCH 18/21] xenstored: add --event parameter for bootstrapping
[PATCH 19/21] xenstored: use domain_is_unprivileged instead of
[PATCH 20/21] xenstored: add --priv-domid parameter
[PATCH 21/21] xenstored: Add stub domain builder

[PATCH] xenbus: Add support for xenbus backend in stub domain

Xen-devel mailing list



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