Markus Armbruster e1123015a5 pc: Make -no-fd-bootchk stick across boot order changes
Option -no-fd-bootchk asks the BIOS to attempt booting from a floppy
even when the boot sector signature isn't there, by setting a bit in
RTC CMOS.  It was added back in 2006 (commit 52ca8d6a).

Two years later, commit 0ecdffbb added monitor command boot_set.
Implemented by new function pc_boot_set().  It unconditionally clears
the floppy signature bit in CMOS.

Commit e0f084bf added -boot option once to automatically change the
boot order on first reset.  Reuses pc_boot_set(), thus also clears the
floppy signature bit.  Commit d9346e81 took care to preserve this
behavior.

Thus, -no-fd-bootchk applies to any number of boots.  Except it
applies just to the first boot with -boot once, and never after
boot_set.  Weird.  Make it stick instead: set the bit according to
-no-fd-bootchk in pc_boot_set().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Message-id: 1371208516-7857-6-git-send-email-armbru@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-06-19 14:10:43 -05:00
2013-05-26 11:14:52 +00:00
2013-06-14 15:33:10 +01:00
2013-04-18 13:50:53 +02:00
2013-05-12 13:25:55 +04:00
2012-12-19 08:29:06 +01:00
2013-06-10 11:36:12 -05:00
2013-05-28 12:19:02 +02:00
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00
2013-05-03 13:58:09 +02:00
2012-09-07 09:02:44 +03:00
2013-06-11 23:45:43 +04:00
2013-04-18 13:50:53 +02:00
2013-02-21 16:17:31 -06:00
2013-04-08 18:13:10 +02:00
2012-05-14 07:27:24 +02:00
2013-06-15 17:50:21 +00:00
2013-06-17 11:01:14 -04:00
2013-06-14 14:29:04 +04:00
2013-06-06 11:27:05 +02:00
2013-02-21 16:17:31 -06:00
2013-05-29 08:15:35 -05:00
2011-12-09 11:25:22 +00:00
2013-06-14 15:33:10 +01:00
2013-05-03 13:05:49 +02:00
2013-05-18 16:35:12 +04:00
2013-06-14 15:33:12 +01:00
2013-02-22 21:21:10 +01:00
2013-06-06 11:27:05 +02:00
2013-06-06 11:27:05 +02:00
2013-05-01 13:06:07 +02:00
2011-12-11 17:50:43 -06:00
2013-05-03 12:04:40 -05:00
2013-05-20 10:55:18 -05:00
2013-04-08 18:13:10 +02:00
2013-04-08 18:13:10 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
S
Description
Languages
C 82.6%
C++ 6.5%
Python 3.3%
Dylan 2.9%
Shell 1.6%
Other 2.9%