qemurunner: Increase startup timeout 120 -> 300

We now spend time copying the VM image into a tmpfs and with IO load on the
system, the time + the boot time of the VM can take longer than 120s. Increase
the timeout to match the added overhead of copying the image file.

(From OE-Core rev: a40087c966af5ffb9309e1ddfdb3d06973e0bddd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2021-06-02 23:29:35 +01:00
parent 37be8268f9
commit d9e5152bd6

View File

@ -65,7 +65,7 @@ class QemuRunner:
self.boot_patterns = boot_patterns
self.tmpfsdir = tmpfsdir
self.runqemutime = 120
self.runqemutime = 300
if not workdir:
workdir = os.getcwd()
self.qemu_pidfile = workdir + '/pidfile_' + str(os.getpid())