dom0: include xl.conf in qubes-core-dom0 package

Disable autoballoon (qmemman will handle it) and specify lock file location
writable by user.
This commit is contained in:
Marek Marczykowski 2011-06-06 01:56:37 +02:00
parent 645132f043
commit ae6d2ac70c
2 changed files with 14 additions and 0 deletions

11
dom0/misc/xl.conf Normal file
View File

@ -0,0 +1,11 @@
## Global XL config file ##
# automatically balloon down dom0 when xen doesn't have enough free
# memory to create a domain
autoballoon=0
# full path of the lockfile used by xl during domain creation
lockfile="/var/run/qubes/xl-lock"
# default vif script
#vifscript="vif-bridge"

View File

@ -123,6 +123,8 @@ mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
cp ../common/iptables $RPM_BUILD_ROOT/etc/sysconfig
mkdir -p $RPM_BUILD_ROOT/etc/security/limits.d
cp misc/limits-qubes.conf $RPM_BUILD_ROOT/etc/security/limits.d/99-qubes.conf
mkdir -p $RPM_BUILD_ROOT/etc/xen/
cp misc/xl.conf $RPM_BUILD_ROOT/etc/xen/
mkdir -p $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d
cp pm-utils/01qubes-sync-vms-clock $RPM_BUILD_ROOT/usr/lib64/pm-utils/sleep.d/
@ -294,3 +296,4 @@ fi
/etc/sudoers.d/qubes
/etc/xdg/autostart/qubes-guid.desktop
/etc/security/limits.d/99-qubes.conf
/etc/xen/xl.conf