commit | 244caf86f11f5f65d166d91704f64cb673167abc | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Wed Sep 15 21:48:16 2010 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Wed Sep 15 21:48:16 2010 -0400 |
tree | eb0f32c8469d15625ad34ebc3c4fec6068a767e9 | |
parent | 5bd01de26257849f36d361018c3ec17aa29b0218 [diff] |
Try to hard-reboot on rerun of post even on emulators. Extend the hard-reboot logic to qemu and kvm. On qemu, a reboot will not reset the memory settings for 0xc0000-0xfffff, so copy that memory area manually before rebooting. Unfortunately, kvm does not keep a pristine copy of the BIOS at 0xffff0000, so detect that case and shutdown the machine.