xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6 00/24] Xenstore stub domain
@ 2012-01-27 22:15 Daniel De Graaf
  2012-01-27 22:15 ` [PATCH 01/24] xen: reinstate previously unused XENMEM_remove_from_physmap hypercall Daniel De Graaf
                   ` (24 more replies)
  0 siblings, 25 replies; 31+ messages in thread
From: Daniel De Graaf @ 2012-01-27 22:15 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian Campbell

Changes from v5:
 - Use BSD queue.h instead of GPL list.h in mini-os
 - Add CONFIG_LWIP to allow simpler disabling of LWIP
 - Typedef fixups
 - Create a xenstored_minios.c for minios-specific functions
 - Formatting cleanup
 - Using --internal-db is now required for a working stubdom

Changes from v4:
 - Add --internal-db flag to use TDB_INTERNAL on non-stubdom
 - Fewer #ifdefs

Changes from v3:
 - mini-os configuration files moved into stubdom/
 - mini-os extra console support now a config option
 - Fewer #ifdefs
 - grant table setup uses hypercall bounce
 - Xenstore stub domain syslog support re-enabled

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 system_u:system_r:domU_t

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

Other notes:

The console for xenstored is not currently set up by
init-xenstore-domain. If the hypervisor is compiled with VERBOSE or
debug=y, output from xenstored 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/24] xen: reinstate previously unused
[PATCH 02/24] xen: allow global VIRQ handlers to be delegated to
[PATCH 03/24] xen: change virq parameters from int to uint32_t
[PATCH 04/24] xen: use XSM instead of IS_PRIV for getdomaininfo
[PATCH 05/24] xen: Preserve reserved grant entries when switching

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

[PATCH 08/24] mini-os: use BSD sys/queue.h instead of Linux list.h
 - New patch by Ian Campbell; requires a qemu tag update with the
   block-vbd.c change posted at the same time.

[PATCH 09/24] mini-os: avoid crash if no console is provided
[PATCH 10/24] mini-os: remove per-fd evtchn limit
[PATCH 11/24] mini-os: create app-specific configuration
[PATCH 12/24] mini-os: Move test functions into test.c
[PATCH 13/24] mini-os: make frontends and xenbus optional
 - Old patch #13 dropped; others shifted due to new #8

[PATCH 14/24] xenstored: use grant references instead of
[PATCH 15/24] xenstored: refactor socket setup code
[PATCH 16/24] xenstored: add NO_SOCKETS compilation option
[PATCH 17/24] xenstored: support for tdb_copy with TDB_INTERNAL
[PATCH 18/24] xenstored: add --internal-db flag
[PATCH 19/24] xenstored: support running in minios stubdom
[PATCH 20/24] xenstored: add --event parameter for bootstrapping
[PATCH 21/24] stubdom: enable xenstored build
[PATCH 22/24] xenstored: use domain_is_unprivileged instead of
[PATCH 23/24] xenstored: add --priv-domid parameter
[PATCH 24/24] xenstored: Add stub domain builder
 - Swapped 20 <-> 21

Linux patch unchanged since v3, not reposted this time:
[PATCH] xenbus: Add support for xenbus backend in stub domain

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2012-02-09 18:40 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-27 22:15 [PATCH v6 00/24] Xenstore stub domain Daniel De Graaf
2012-01-27 22:15 ` [PATCH 01/24] xen: reinstate previously unused XENMEM_remove_from_physmap hypercall Daniel De Graaf
2012-01-27 22:15 ` [PATCH 02/24] xen: allow global VIRQ handlers to be delegated to other domains Daniel De Graaf
2012-01-27 22:15 ` [PATCH 03/24] xen: change virq parameters from int to uint32_t Daniel De Graaf
2012-01-27 22:15 ` [PATCH 04/24] xen: use XSM instead of IS_PRIV for getdomaininfo Daniel De Graaf
2012-01-27 22:15 ` [PATCH 05/24] xen: Preserve reserved grant entries when switching versions Daniel De Graaf
2012-01-27 22:15 ` [PATCH 06/24] tools/libxl: pull xenstore/console domids from xenstore Daniel De Graaf
2012-01-27 22:15 ` [PATCH 07/24] lib{xc, xl}: Seed grant tables with xenstore and console grants Daniel De Graaf
2012-01-27 22:15 ` [PATCH 08/24] mini-os: use BSD sys/queue.h instead of Linux list.h Daniel De Graaf
2012-01-27 22:15 ` [PATCH 09/24] mini-os: avoid crash if no console is provided Daniel De Graaf
2012-01-27 22:15 ` [PATCH 10/24] mini-os: remove per-fd evtchn limit Daniel De Graaf
2012-01-27 22:15 ` [PATCH 11/24] mini-os: create app-specific configuration Daniel De Graaf
2012-01-30 21:41   ` [PATCH 11/24 v2] " Daniel De Graaf
2012-01-27 22:15 ` [PATCH 12/24] mini-os: Move test functions into test.c Daniel De Graaf
2012-01-27 22:15 ` [PATCH 13/24] mini-os: make frontends and xenbus optional Daniel De Graaf
2012-01-27 22:15 ` [PATCH 14/24] xenstored: use grant references instead of map_foreign_range Daniel De Graaf
2012-01-27 22:15 ` [PATCH 15/24] xenstored: refactor socket setup code Daniel De Graaf
2012-01-27 22:15 ` [PATCH 16/24] xenstored: add NO_SOCKETS compilation option Daniel De Graaf
2012-01-27 22:15 ` [PATCH 17/24] xenstored: support for tdb_copy with TDB_INTERNAL Daniel De Graaf
2012-01-27 22:15 ` [PATCH 18/24] xenstored: add --internal-db flag Daniel De Graaf
2012-01-27 22:15 ` [PATCH 19/24] xenstored: support running in minios stubdom Daniel De Graaf
2012-01-30 11:08   ` Stefano Stabellini
2012-01-27 22:15 ` [PATCH 20/24] xenstored: add --event parameter for bootstrapping Daniel De Graaf
2012-01-27 22:15 ` [PATCH 21/24] stubdom: enable xenstored build Daniel De Graaf
2012-01-27 22:15 ` [PATCH 22/24] xenstored: use domain_is_unprivileged instead of checking conn->id Daniel De Graaf
2012-01-27 22:15 ` [PATCH 23/24] xenstored: add --priv-domid parameter Daniel De Graaf
2012-01-27 22:15 ` [PATCH 24/24] xenstored: Add stub domain builder Daniel De Graaf
2012-02-09 16:28 ` [PATCH v6 00/24] Xenstore stub domain Daniel De Graaf
2012-02-09 17:40   ` Ian Jackson
2012-02-09 18:20     ` Daniel De Graaf
2012-02-09 18:40       ` Ian Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).