Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
xen.26346
xenstored-run-in-stubdomain.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xenstored-run-in-stubdomain.patch of Package xen.26346
References: fate#323663 - Run Xenstore in stubdomain Index: xen-4.11.4-testing/tools/hotplug/Linux/init.d/sysconfig.xencommons.in =================================================================== --- xen-4.11.4-testing.orig/tools/hotplug/Linux/init.d/sysconfig.xencommons.in +++ xen-4.11.4-testing/tools/hotplug/Linux/init.d/sysconfig.xencommons.in @@ -8,7 +8,7 @@ XENCONSOLED_TRACE= ## Type: string -## Default: daemon +## Default: daemon # # Select type of xentore service. # @@ -66,14 +66,14 @@ XENSTORED_ROOTDIR= XENSTORE_DOMAIN_KERNEL= ## Type: integer -## Default: 8 +## Default: 32 # # xenstore domain memory size in MiB. # Only evaluated if XENSTORETYPE is "domain". XENSTORE_DOMAIN_SIZE= ## Type: string -## Default: not set, no autoballooning of xenstore domain +## Default: 1/100 # # Maximum xenstore domain memory size. Can be specified as: # - plain integer value for max size in MiB Index: xen-4.11.4-testing/tools/hotplug/Linux/launch-xenstore.in =================================================================== --- xen-4.11.4-testing.orig/tools/hotplug/Linux/launch-xenstore.in +++ xen-4.11.4-testing/tools/hotplug/Linux/launch-xenstore.in @@ -48,7 +48,7 @@ test_xenstore && exit 0 test -f @CONFIG_DIR@/@CONFIG_LEAF_DIR@/xencommons && . @CONFIG_DIR@/@CONFIG_LEAF_DIR@/xencommons -[ "$XENSTORETYPE" = "" ] && XENSTORETYPE=daemon +[ "$XENSTORETYPE" = "" ] && XENSTORETYPE=daemon /bin/mkdir -p @XEN_RUN_DIR@ @@ -71,9 +71,10 @@ test -f @CONFIG_DIR@/@CONFIG_LEAF_DIR@/x [ "$XENSTORETYPE" = "domain" ] && { [ -z "$XENSTORE_DOMAIN_KERNEL" ] && XENSTORE_DOMAIN_KERNEL=@LIBEXEC@/boot/xenstore-stubdom.gz XENSTORE_DOMAIN_ARGS="$XENSTORE_DOMAIN_ARGS --kernel $XENSTORE_DOMAIN_KERNEL" - [ -z "$XENSTORE_DOMAIN_SIZE" ] && XENSTORE_DOMAIN_SIZE=8 + [ -z "$XENSTORE_DOMAIN_SIZE" ] && XENSTORE_DOMAIN_SIZE=32 XENSTORE_DOMAIN_ARGS="$XENSTORE_DOMAIN_ARGS --memory $XENSTORE_DOMAIN_SIZE" - [ -z "$XENSTORE_MAX_DOMAIN_SIZE" ] || XENSTORE_DOMAIN_ARGS="$XENSTORE_DOMAIN_ARGS --maxmem $XENSTORE_MAX_DOMAIN_SIZE" + [ -z "$XENSTORE_MAX_DOMAIN_SIZE" ] && XENSTORE_MAX_DOMAIN_SIZE="1/100" + XENSTORE_DOMAIN_ARGS="$XENSTORE_DOMAIN_ARGS --maxmem $XENSTORE_MAX_DOMAIN_SIZE" echo -n Starting $XENSTORE_DOMAIN_KERNEL... ${LIBEXEC_BIN}/init-xenstore-domain $XENSTORE_DOMAIN_ARGS || exit 1
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