Michal Privoznik 85af0b803c qemu: Adaptive timeout for connecting to monitor
There were couple of reports on the list (e.g. [1]) that guests
with huge amounts of RAM are unable to start because libvirt
kills qemu in the initialization phase. The problem is that if
guest is configured to use hugepages kernel has to zero them all
out before handing over to qemu process. For instance, 402GiB
worth of 1GiB pages took around 105 seconds (~3.8GiB/s). Since we
do not want to make the timeout for connecting to monitor
configurable, we have to teach libvirt to count with this
fact. This commit implements "1s per each 1GiB of RAM" approach
as suggested here [2].

1: https://www.redhat.com/archives/libvir-list/2017-March/msg00373.html
2: https://www.redhat.com/archives/libvir-list/2017-March/msg00405.html

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2017-03-16 09:21:39 +01:00
..
2017-03-11 23:31:01 +04:00
2016-12-06 13:34:00 +01:00
2016-12-06 13:34:00 +01:00
2017-02-24 14:10:57 +01:00
2016-06-14 08:25:25 +02:00
2016-09-14 13:18:07 +02:00
2016-08-24 17:43:29 +02:00
2017-02-10 10:25:44 +01:00