qemu/hw
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
..
9pfs hw/9pfs: Be robust against paths without FS_IOC_GETVERSION 2013-05-28 15:23:12 +05:30
acpi piix: fix some printf errors when debug is enabled 2013-06-14 14:38:45 +04:00
alpha include: avoid useless includes of exec/ headers 2013-04-15 18:19:26 +02:00
arm arm: Remove CONFIG_FDT conditionals 2013-06-14 15:34:19 +01:00
audio Merge branch 'realize-isa.v2' of git://github.com/afaerber/qemu-cpu 2013-06-15 10:53:44 +00:00
block NVMe: Initial commit for new storage interface 2013-06-17 17:47:59 +02:00
bt sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
char char/serial: fix copy&paste error (fifo8_is_full vs empty) 2013-06-17 12:57:50 +04:00
core pci: misc cleanups 2013-06-04 09:26:29 -05:00
cpu target-i386: Move APIC to ICC bus 2013-05-01 13:06:07 +02:00
cris hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
display isa: Use realizefn for ISADevice 2013-06-07 12:14:45 +02:00
dma Merge branch 'realize-isa.v2' of git://github.com/afaerber/qemu-cpu 2013-06-15 10:53:44 +00:00
gpio Remove unneeded type casts 2013-04-19 11:36:33 +02:00
i2c qdev: Drop FROM_QBUS() macro 2013-06-07 14:55:33 +02:00
i386 pc: Make -no-fd-bootchk stick across boot order changes 2013-06-19 14:10:43 -05:00
ide Merge branch 'realize-isa.v2' of git://github.com/afaerber/qemu-cpu 2013-06-15 10:53:44 +00:00
input isa: Use realizefn for ISADevice 2013-06-07 12:14:45 +02:00
intc intc/xilinx_intc: Dont lower IRQ when HIE cleared 2013-06-18 09:45:00 +02:00
isa isa: QOM'ify ISADevice 2013-06-07 14:55:33 +02:00
lm32 qdev: Drop taddr properties 2013-04-20 17:54:52 +00:00
m68k hw: move char devices to hw/char/, configure via default-configs/ 2013-04-08 18:13:14 +02:00
microblaze microblaze/petalogix_s3adsp1800_mmu: Fix UART IRQ 2013-06-18 09:44:59 +02:00
mips remove some double-includes 2013-05-18 16:35:12 +04:00
misc Merge branch 'realize-isa.v2' of git://github.com/afaerber/qemu-cpu 2013-06-15 10:53:44 +00:00
moxie Trivial grammar and spelling fixes 2013-05-01 20:55:21 +04:00
net Merge branch 'realize-isa.v2' of git://github.com/afaerber/qemu-cpu 2013-06-15 10:53:44 +00:00
nvram fw_cfg: fw_cfg is a singleton 2013-06-02 18:14:14 +03:00
openrisc hw: move headers to include/ 2013-04-08 18:13:10 +02:00
pci qdev: Drop FROM_QBUS() macro 2013-06-07 14:55:33 +02:00
pci-bridge dec.c - move to pci-bridge 2013-06-02 18:13:37 +03:00
pci-host dec.c - move to pci-bridge 2013-06-02 18:13:37 +03:00
ppc Merge remote-tracking branch 'pmaydell/configury.next' into staging 2013-06-17 08:57:57 -05:00
s390x virtio-rng: Fix crash with non-default backend 2013-06-18 10:05:45 -05:00
scsi vhost-scsi: fix k->set_guest_notifiers() NULL dereference 2013-06-18 12:43:03 +02:00
sd sd/sd.c: Fix "inquiry" ACMD41 2013-06-03 17:17:45 +01:00
sh4 arm: fix location of some include files 2013-04-15 15:16:01 +02:00
sparc refer to FWCfgState explicitly 2013-06-02 18:14:02 +03:00
sparc64 isa: QOM'ify ISABus 2013-06-07 14:55:25 +02:00
ssi qdev: Drop FROM_QBUS() macro 2013-06-07 14:55:33 +02:00
timer i8254: Convert PITCommonState to QOM realizefn 2013-06-07 14:55:24 +02:00
tpm Move TPM passthrough specific command line options to backend structure 2013-04-23 10:40:40 -05:00
unicore32 console: add device link to QemuConsoles 2013-04-25 14:45:46 -05:00
usb xhci: add live migration support 2013-06-03 11:38:03 +02:00
virtio virtio-rng: Fix crash with non-default backend 2013-06-18 10:05:45 -05:00
watchdog wdt_i6300esb: fix vmstate versioning 2013-06-18 13:44:37 -05:00
xen hw/xen: Use g_free instead of free and fix potential memory leaks 2013-06-11 23:45:44 +04:00
xtensa sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
Makefile.objs virtio: simplify Makefile conditionals 2013-04-19 16:18:11 +02:00