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

[Xen-devel] [PATCH 0/9] xenstore: make it easier to run xenstore in a domain



Xen supports to run xenstore in a dedicated domain. It is, however, a
setup which isn't easy to configure. Today flask is required for full
functionality and the resulting xenstore domain is not configurable in
the same way as the xenstore daemon.

This patch series enables running a xenstore domain without flask. The
tool needed to start that domain is added to the installed binaries
and it is modified to pass arbitrary options to the xenstore domain.

I didn't include a configuration option for starting xenstore as an
own domain instead of the daemon, as this will require some major
tweaking of especially the systemd configuration files. Support for
this will be added later. The main issue is that running xenstore in
a domain requires the xenstore sockets not to be created. I don't
think this is possible with the current scheme of letting systemd
create those sockets.

Juergen Gross (9):
  xen: add xenstore domain flag to hypervisor
  libxc: support new xenstore domain flag in libxc
  xenstore: install init-xenstore-domain via make install
  xenstore: add error messages to init-xenstore-domain
  xenstore: modify init-xenstore-domain parameter syntax
  xenstore: don't start xenstore domain if already one is active
  xenstore: add init-xenstore-domain parameter to specify cmdline
  xenstore: write xenstore domain data to xenstore
  xenstore: when running in mini-os use printk for diagnostic messages

 tools/libxc/include/xenctrl.h         |   2 +-
 tools/libxc/xc_domain.c               |  17 +--
 tools/xenstore/Makefile               |   3 +
 tools/xenstore/init-xenstore-domain.c | 223 ++++++++++++++++++++++++++++------
 tools/xenstore/utils.c                |   6 +
 xen/common/domain.c                   |   6 +
 xen/common/domctl.c                   |  14 ++-
 xen/include/public/domctl.h           |   6 +
 xen/include/xen/sched.h               |   5 +
 xen/include/xsm/dummy.h               |   6 +
 xen/include/xsm/xsm.h                 |   1 +
 11 files changed, 241 insertions(+), 48 deletions(-)

-- 
2.6.2


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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