[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxl: add feature flag to xenstore for XS_RESET_WATCHES
# HG changeset patch # User Olaf Hering <olaf@xxxxxxxxx> # Date 1325788840 -3600 # Node ID ef99b8571a6fe4e53fb9df4da2833f8f5a5b4ec7 # Parent 164ed9b67ad050cbd9efa24f641120733926d7d6 libxl: add feature flag to xenstore for XS_RESET_WATCHES Tell guest about availibilty of xenstoreds XS_RESET_WATCHES function. Guests can not issue this command unconditionally because some buggy toolstacks (such as EC2) do not ignore unknown commands properly. Signed-off-by: Olaf Hering <olaf@xxxxxxxxx> Committed-by: Ian Jackson <ian.jackson.citrix.com> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- diff -r 164ed9b67ad0 -r ef99b8571a6f tools/libxl/libxl_create.c --- a/tools/libxl/libxl_create.c Tue Jan 10 16:04:26 2012 +0000 +++ b/tools/libxl/libxl_create.c Thu Jan 05 19:40:40 2012 +0100 @@ -452,6 +452,7 @@ libxl__xs_writev(gc, t, libxl__sprintf(gc, "%s/platform", dom_path), info->platformdata); xs_write(ctx->xsh, t, libxl__sprintf(gc, "%s/control/platform-feature-multiprocessor-suspend", dom_path), "1", 1); + xs_write(ctx->xsh, t, libxl__sprintf(gc, "%s/control/platform-feature-xs_reset_watches", dom_path), "1", 1); if (!xs_transaction_end(ctx->xsh, t, 0)) { if (errno == EAGAIN) { t = 0; diff -r 164ed9b67ad0 -r ef99b8571a6f tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Tue Jan 10 16:04:26 2012 +0000 +++ b/tools/python/xen/xend/XendDomainInfo.py Thu Jan 05 19:40:40 2012 +0100 @@ -1770,6 +1770,7 @@ f('store/port', self.store_port) f('store/ring-ref', self.store_mfn) + f('control/platform-feature-xs_reset_watches', True) if arch.type == "x86": f('control/platform-feature-multiprocessor-suspend', True) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |