core-admin/qubes
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
..
api Make 'qvm-volume revert' really use the latest revision 2018-01-20 23:20:23 +00:00
ext Merge remote-tracking branch 'qubesos/pr/185' 2018-01-22 15:32:57 +01:00
qmemman qmemman: fix early crash 2018-01-18 17:36:37 +01:00
storage Make pylint happy 2017-12-21 18:19:10 +01:00
tests tests: adjust for type=pvh change 2018-01-27 01:34:41 +01:00
tools qmemman: do not close stdout/stderr in daemon mode 2018-01-18 17:36:37 +01:00
vm Fix starting PCI-having HVMs on early system boot and later 2018-01-29 22:57:32 +01:00
__init__.py cache PropertyHolder.property_list and use O(1) property name lookups 2017-11-11 02:38:16 +01:00
app.py app: define values for default_dispvm=None, updatevm=None 2018-01-19 04:50:04 +01:00
backup.py vm/qubesvm: revert backup_timestamp to '%s' format 2018-01-12 05:34:45 +01:00
config.py Add IPv6 related VM properties 2017-12-07 01:40:30 +01:00
core2migration.py Make pylint happy 2017-12-21 18:19:10 +01:00
devices.py devices: clarify error on attaching non-persistent device to stopped VM 2017-10-21 04:05:16 +02:00
dochelpers.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
events.py events: add support for wildcard event handlers 2018-01-06 00:40:19 +01:00
exc.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
firewall.py firewall: skip expired rules 2017-10-21 03:35:00 +02:00
log.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
rngdoc.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
tarwriter.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
utils.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00