[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 0/5] xenstore: enhance runtime debug capabilities
Today xenstored supports logging only via a command line parameter. This means that logging is either all the time off (default) or on. To switch logging on the Xen host has to be rebooted as xenstored isn't restartable. This patch series changes this by using the XS_DEBUG wire command of Xenstore to control various debug functions: - switch logging on/off - specify logfile to use - write memory usage to file This will enable the host administrator to control above functionality without the need of specifying any additional command line parameters of xenstored or to restart the host in case of debug information needed. Changes in V2: - added new patch 1 (rename of XS_DEBUG to XS_CONTROL) Juergen Gross (5): xenstore: rename XS_DEBUG wire command xenstore: enhance control command support xenstore: add support for changing log functionality dynamically xenstore: make memory report available via XS_CONTROL xenstore: remove memory report command line support tools/xenstore/Makefile | 4 +- tools/xenstore/include/xenstore.h | 2 +- tools/xenstore/xenstore_control.c | 65 +++++++++---- tools/xenstore/xenstored_control.c | 194 +++++++++++++++++++++++++++++++++++++ tools/xenstore/xenstored_control.h | 19 ++++ tools/xenstore/xenstored_core.c | 81 ++++------------ tools/xenstore/xenstored_core.h | 6 +- tools/xenstore/xs.c | 7 +- xen/include/public/io/xs_wire.h | 3 +- 9 files changed, 290 insertions(+), 91 deletions(-) create mode 100644 tools/xenstore/xenstored_control.c create mode 100644 tools/xenstore/xenstored_control.h -- 2.10.2 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |