core-admin/qubes/vm
Marek Marczykowski-Górecki 86026e364f
Fix starting PCI-having HVMs on early system boot and later
1. Make sure VMs are started after dom0 actual memory usage is reported
to qmemman, otherwise dom0 will hold 4GB, even if just a little over 1GB
is needed at that time.

2. Request only vm.memory MB from qmemman, instead of vm.maxmem. While
HVM with PCI devices indeed do not support populate-on-demand, this is
already handled in libvirt XML.

The later may often cause VM startup fail on systems with 8GB of memory,
because maxmem is 4GB there and with dom0 keeping the other 4GB (see
point 1) there is not enough memory to start any sych VM.

Fixes QubesOS/qubes-issues#3462
2018-01-29 22:57:32 +01:00
..
mix Make pylint happy 2017-12-21 18:19:10 +01:00
__init__.py vm: include tag/feature name in event name 2018-01-06 15:05:34 +01:00
adminvm.py vm/adminvm: fix type of AdminVM.qid 2017-12-21 18:18:12 +01:00
appvm.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
dispvm.py qubes/vm: Improve stopped event handling 2017-10-21 05:57:57 +02:00
qubesvm.py Fix starting PCI-having HVMs on early system boot and later 2018-01-29 22:57:32 +01:00
standalonevm.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
templatevm.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00