From: Amos Kong <akong@redhat.com>
To: seabios@seabios.org, kevin@koconnor.net
Cc: lersek@redhat.com, qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] about [SeaBIOS PATCH] Try to hard-reboot on rerun of post even on emulators.
Date: Tue, 21 Apr 2015 07:31:36 +0800 [thread overview]
Message-ID: <20150420232719.GA6418@air.redhat.com> (raw)
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.
next reply other threads:[~2015-04-20 23:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-20 23:31 Amos Kong [this message]
2015-04-21 0:29 ` [Qemu-devel] about [SeaBIOS PATCH] Try to hard-reboot on rerun of post even on emulators 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150420232719.GA6418@air.redhat.com \
--to=akong@redhat.com \
--cc=kevin@koconnor.net \
--cc=lersek@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=seabios@seabios.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.