Skip to content

dom0 kernel support for xenstore stubdom

Alex Zeffertt xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3allow dom0 to use /proc/xen/xenbus for all commands (in add'n to unix domain socket)drivers/xen/xenbus/xenbus_dev.c+7 -00 replies
2/3don't hard code 0 as domid of linux xenbus masterdrivers/xen/xenbus/xenbus_probe.c+1 -10 replies
3/3delay xenbus init if xenbus master is a separate domaindrivers/xen/core/xen_sysfs.c drivers/xen/xenbus/xenbus_comms.c drivers/xen/xenbus/xenbus_comms.h +4 more+253 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] [linux-2.6.18-xen.hg] dom0 kernel support for xenstore stubdom

Hi all,

Last year Diego Ongaro did some work to allow xenstored to be run in a stub domain, which never got pulled. I have updated his patches, and got them working with the latest xen-unstable.

There are two sets of patches. The first (smaller) set updates the 2.6.18 dom0 kernel so that it will support running xenstored in a stub domain. The second set updates tools/ stubdom/ and xen/.

After these patches are applied and everything is rebuilt, the user can enable the xenstore stubdomain by uncommenting the 'STUBDOM=yes' line in /etc/sysconfig/xenstore and rebooting.

Doing this offers the following two main advantages:

1. dom0 doesn't get scheduled on every xenbus access. This should make
xenbus accesses speedier
2. this brings us closer to being able to reboot dom0 without needing to
reboot all the VMs.

Please consider these patches for inclusion in linux-2.6.18-xen.hg and xen-unstable.hg

Regards,

Alex Zeffertt