Go to file
Marek Marczykowski-Górecki 181eb3e764
qmemman: handle memory assigned to VM but not yet used
When VM got some memory assigned, balloon driver may not pick it up
immediatelly and the memory will still be seen as "free" by Xen, but VM
can use (request) it at any time. Qmemman needs to take care of such
memory (exclude it from "free" pool), otherwise it would redistribute it
to other domains, allowing the original domain to drain Xen memory pool.

Do this by redefining DomainState.memory_actual - it is now amount of
memory available to the VM (currently used, or possibly used). Then
calculate free memory by subtracting memory allocated but not used
(memory_target-memory_current).

Fixes QubesOS/qubes-issues#1389
2016-01-06 00:40:10 +01:00
core Storage refactor device config generation 2015-12-22 11:24:28 +01:00
core-modules core: log pci detach error on VM shutdown 2015-12-26 14:05:21 +01:00
dispvm dispvm: convert exception object to string - otherwise it will not be visible 2015-12-22 01:53:53 +01:00
doc doc: Change qvm-service name from "cron" to "crond" 2015-12-29 14:19:56 +01:00
linux systemd: do not fail qubes-vm@ service when the VM is already running 2015-12-26 11:34:40 +01:00
qmemman qmemman: handle memory assigned to VM but not yet used 2016-01-06 00:40:10 +01:00
qubes-rpc typo 2015-10-21 20:57:30 +00:00
qubes-rpc-policy qubes-rpc-policy/qubes.GetImageRGBA.policy 2014-05-20 17:49:20 +02:00
qvm-tools Add qvm-start --skip-if-running option 2015-12-26 11:31:56 +01:00
rpm_spec rpm: do not motify /etc/udev/rules.d/xen-backend.rules anymore 2015-11-27 20:00:34 +01:00
site-packages add convenient symlinks simulating target python files layout 2014-03-10 01:05:01 +01:00
site-packages-qmemman Convenient link for qmemman 2014-04-23 12:53:41 +02:00
tests tests: add test for VM autostart on qrexec call 2015-12-28 01:07:48 +01:00
vm-config core: adjust for updated stubdom support in libvirt 2015-11-27 20:00:33 +01:00
.gitignore gitignore 2015-05-04 00:35:57 +02:00
installer.wxs windows/installer: configurable destination directory 2014-11-19 12:50:31 +01:00
LICENSE Added LICENSE 2010-04-05 21:21:27 +02:00
Makefile dispvm: do not treat DispVMs as Xen-specific 2015-03-30 05:30:52 +02:00
Makefile.builder windows: installer 2014-11-19 12:50:30 +01:00
version version 3.1.8 2015-12-26 15:28:51 +01:00