Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:Maintenance:114
xen.openSUSE_Evergreen_11.4
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.openSUSE_Evergreen_11.4
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.c | 1 + tools/python/xen/xend/XendDomainInfo.py | 1 + 2 files changed, 2 insertions(+) Index: xen-4.0.3-testing/tools/libxl/libxl.c =================================================================== --- xen-4.0.3-testing.orig/tools/libxl/libxl.c +++ xen-4.0.3-testing/tools/libxl/libxl.c @@ -169,6 +169,7 @@ retry_transaction: libxl_xs_writev(ctx, t, libxl_sprintf(ctx, "%s/platform", dom_path), info->platformdata); xs_write(ctx->xsh, t, libxl_sprintf(ctx, "%s/control/platform-feature-multiprocessor-suspend", dom_path), "1", 1); + xs_write(ctx->xsh, t, libxl_sprintf(ctx, "%s/control/platform-feature-xs_reset_watches", dom_path), "1", 1); if (!xs_transaction_end(ctx->xsh, t, 0)) if (errno == EAGAIN) Index: xen-4.0.3-testing/tools/python/xen/xend/XendDomainInfo.py =================================================================== --- xen-4.0.3-testing.orig/tools/python/xen/xend/XendDomainInfo.py +++ xen-4.0.3-testing/tools/python/xen/xend/XendDomainInfo.py @@ -1784,6 +1784,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