]> xenbits.xensource.com Git - seabios.git/commit
resume: Make KVM soft reboot loop detection more flexible
authorKevin O'Connor <kevin@koconnor.net>
Mon, 9 Nov 2015 20:00:19 +0000 (15:00 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 12 Jan 2016 19:01:07 +0000 (14:01 -0500)
commitb837e68d5a6c1a5945513f1995875445a1594c8a
tree47afc3c7cc77702367764067bcea656b00585618
parent3e8d75f3bef0f36a807303d58523ef5eba4a386f
resume: Make KVM soft reboot loop detection more flexible

Move the check for soft reboot loops from resume.c to shadow.c and
directly check for the case where the copy of the BIOS in flash
appears to be a memory alias instead.  This prevents a hang if an
external reboot request occurs during the BIOS memcpy.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
src/fw/shadow.c
src/resume.c