Skip to contentSkip to conversation

support for xenstore stubdom

PATCH In review Alex Zeffertt 1 participant 2 messages Mar 23, 2009 – Jun 10, 2009

lore
Share & tools
lore
#0 lore raw

cover support for xenstore stubdom

These are the xen/ tools/ and stubdom/ patches that enable the option of starting xenstored in a seperate stub domain.

Applying these patches does not change the behaviour unless 'STUBDOM=yes' is written into /etc/sysconfig/xenstore. If you do this then you need to also apply the previous set of patches to the linux-2.6.18-xen kernel and reboot.

Please consider these patches for application into xen-unstable.

Regards,

Alex Zeffertt

#1 lore raw

Hi,

I'd like to append a 25th patch to this patchqueue.

The attached patch causes all syslog to be redirected to the console when xenstore is running in a mini-OS stubdomain. The console messages can be viewed using xenconsole_dump, or with "/etc/init.d/xenstored console" which just calls xenconsole_dump with the appropriate parameters.

Without this patch all syslog messages are just lost when running in a stubdomain.

Regards,

Alex

Quoted 11 lines · Alex Zeffertt

These are the xen/ tools/ and stubdom/ patches that enable the option of starting xenstored in a seperate stub domain.

Applying these patches does not change the behaviour unless 'STUBDOM=yes' is written into /etc/sysconfig/xenstore. If you do this then you need to also apply the previous set of patches to the linux-2.6.18-xen kernel and reboot.

Please consider these patches for application into xen-unstable.

Regards,

Quoted 9 lines

Alex Zeffertt

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Redirect syslog to console if running in mini-OS stub domain instead of just disabling syslog.

Signed-off-by <[email protected]>
tools/xenstore/Makefile +1 -1
diff -r 64e700f5429a tools/xenstore/Makefile
@@ -27,7 +27,7 @@
 endif
 
 ifdef CONFIG_STUBDOM
-CFLAGS += -DNO_SOCKETS=1 -DNO_LOCAL_XENBUS=1 -DNO_SYSLOG=1 -DNO_REOPEN_LOG=1
+CFLAGS += -DNO_SOCKETS=1 -DNO_LOCAL_XENBUS=1 -DNO_TRACEFILE=1
 endif
 
 ALL_TARGETS = libxenstore.so libxenstore.a clients xs_tdb_dump 
tools/xenstore/xenstored_core.c +66 -38

270 lines not on this page · raw message

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel