core-admin/qubes/ext
Marek Marczykowski-Górecki 087a02c7f4
ext/services: add automatic migration meminfo-writer=False -> maxmem=0
Migrate meminfo-writer=False service setting to maxmem=0 as a method to
disable dynamic memory management. Remove the service from vm.features
dict in the process.

Additionally, translate any attempt to set the service.meminfo-writer
feature to either setting maxmem=0 or resetting it to the default (which
is memory balancing enabled if supported by given domain). This is to at
least partially not break existing tools using service.meminfo-writer as
a way to control dynamic memory management. This code does _not_ support
reading service.meminfo-writer feature state to get the current state of
dynamic memory management, as it would require synchronizing with all
the factors affecting its value. One of main reasons for migrating to
maxmem=0 approach is to avoid the need of such synchronization.

QubesOS/qubes-issues#4480
2018-11-21 02:13:25 +01:00
..
__init__.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
admin.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
block.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
core_features.py Update windows-related feature requests 2018-07-16 22:02:58 +02:00
gui.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
pci.py ext/pci: fix error message about missing device 2018-11-01 22:28:50 +01:00
qubesmanager.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
r3compatibility.py Do not generate R3 compat firewall rules if R4 format is supported 2018-10-15 06:05:05 +02:00
services.py ext/services: add automatic migration meminfo-writer=False -> maxmem=0 2018-11-21 02:13:25 +01:00
windows.py ext/services: allow for os=Linux feature request from VM 2018-10-27 16:44:53 +02:00