]> git.proxmox.com Git - qemu.git/commit - arch_init.c
Only calculate expected_time for stage 2
authorJuan Quintela <quintela@redhat.com>
Mon, 21 May 2012 22:44:24 +0000 (00:44 +0200)
committerJuan Quintela <quintela@redhat.com>
Fri, 29 Jun 2012 11:28:09 +0000 (13:28 +0200)
commit5b3c96388741a99988497d734edec19c4f995cd7
tree1cd27ad1526c611b340bf644e0974667234f76f0
parentd24981d37e793b0a8fcde1879db19eb11fe0f975
Only calculate expected_time for stage 2

ram_save_remaining() is an expensive operation when there is a lot of memory.
So we only call the function when we need it.

Signed-off-by: Juan Quintela <quintela@redhat.com>
arch_init.c