qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] about [SeaBIOS PATCH] Try to hard-reboot on rerun of post even on emulators.
@ 2015-04-20 23:31 Amos Kong
  2015-04-21  0:29 ` Kevin O'Connor
  2015-04-21  8:37 ` Laszlo Ersek
  0 siblings, 2 replies; 6+ messages in thread
From: Amos Kong @ 2015-04-20 23:31 UTC (permalink / raw)
  To: seabios, kevin; +Cc: lersek, qemu-devel

Hi Kevin,

When I use old seabios in some stable linux release, some bootable
devices (2 ide disks) would be lost when I try to restart guest by
Ctrl+Alt+Delete during boot stage.

Releated Red Hat BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1129549

I found an upstream commit [1] fixed this bug, but when I backport
this patch to old seabios, guest will shutdown when I try to restart
by Ctrl+Alt+Delete during boot stage.

Kevin, can you help to describe that:
"Unfortunately, kvm does not keep a  pristine copy of the BIOS at 0xffff0000"
It's a kvm (userspace, QEMU) bug?

If it's a qemu-kvm bug, I should also fix this bz in old stable release.


[1] ===========================================
commit 244caf86f11f5f65d166d91704f64cb673167abc
Author: Kevin O'Connor <kevin@koconnor.net>
Date:   Wed Sep 15 21:48:16 2010 -0400

    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.

Two backport dependences:
  [PATCH] Try to hard-reboot processor on rerun of post under coreboot.
  [PATCH] Don't do shadow copying of optionroms when CONFIG_OPTIONROMS_DEPLOYED.

-- 
			Amos.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-04-21 16:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-20 23:31 [Qemu-devel] about [SeaBIOS PATCH] Try to hard-reboot on rerun of post even on emulators Amos Kong
2015-04-21  0:29 ` Kevin O'Connor
2015-04-21  8:30   ` Paolo Bonzini
2015-04-21  8:37 ` Laszlo Ersek
2015-04-21 15:06   ` Kevin O'Connor
2015-04-21 16:54     ` Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).