Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
xen
24478-libxl_add_feature_flag_to_xenstore_for_XS...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 24478-libxl_add_feature_flag_to_xenstore_for_XS_RESET_WATCHES.patch of Package xen
changeset: 24478:ef99b8571a6f user: Olaf Hering <olaf@aepfle.de> date: Thu Jan 05 19:40:40 2012 +0100 files: tools/libxl/libxl_create.c tools/python/xen/xend/XendDomainInfo.py description: 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@aepfle.de> Committed-by: Ian Jackson <ian.jackson.citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> --- tools/libxl/libxl_create.c | 1 + tools/python/xen/xend/XendDomainInfo.py | 1 + 2 files changed, 2 insertions(+) Index: xen-4.1.2-testing/tools/libxl/libxl_create.c =================================================================== --- xen-4.1.2-testing.orig/tools/libxl/libxl_create.c +++ xen-4.1.2-testing/tools/libxl/libxl_create.c @@ -382,6 +382,7 @@ retry_transaction: 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; Index: xen-4.1.2-testing/tools/python/xen/xend/XendDomainInfo.py =================================================================== --- xen-4.1.2-testing.orig/tools/python/xen/xend/XendDomainInfo.py +++ xen-4.1.2-testing/tools/python/xen/xend/XendDomainInfo.py @@ -1770,6 +1770,7 @@ class XendDomainInfo: 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)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor