qemu-e2k/hw
Markus Armbruster c165473269 hw: Clean up bogus default boot order
We set default boot order "cad" in every single machine definition
except "pseries" and "moxiesim", even though very few boards actually
care for boot order, and "cad" makes sense for even fewer.

Machines that care:

* pc and its variants

  Accept up to three letters 'a', 'b' (undocumented alias for 'a'),
  'c', 'd' and 'n'.  Reject all others (fatal with -boot).

* nseries (n800, n810)

  Check whether order starts with 'n'.  Silently ignored otherwise.

* prep, g3beige, mac99

  Extract the first character the machine understands (subset of
  'a'..'f').  Silently ignored otherwise.

* spapr

  Accept an arbitrary string (vl.c restricts it to contain only
  'a'..'p', no duplicates).

* sun4[mdc]

  Use the first character.  Silently ignored otherwise.

Strip characters these machines ignore from their default boot order.

For all other machines, remove the unused default boot order
alltogether.

Note that my rename of QEMUMachine member boot_order to
default_boot_order and QEMUMachineInitArgs member boot_device to
boot_order has a welcome side effect: it makes every use of boot
orders visible in this patch, for easy review.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2013-08-28 10:16:47 +03:00
..
9pfs virtio-9p-device: Avoid freeing uninitialized memory 2013-08-01 11:18:24 -05:00
acpi acpi/piix4: QOM parent field cleanup 2013-07-23 00:37:33 +02:00
alpha hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
arm hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
audio pl041: QOM cast cleanup 2013-07-29 21:05:58 +02:00
block aio: drop io_flush argument 2013-08-19 15:52:19 +02:00
bt sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
char virtio-console: Use exitfn for virtserialport, too 2013-08-01 11:18:32 -05:00
core hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
cpu default-configs: Fix A9MP and A15MP config names 2013-08-20 14:54:32 +01:00
cris hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
display tcx: QOM cast cleanup 2013-07-29 21:06:05 +02:00
dma sun4m_iommu: QOM cast cleanup 2013-07-29 21:06:46 +02:00
gpio gpio/zaurus: QOM cast cleanup 2013-07-29 21:06:57 +02:00
i2c exynos4210_i2c: QOM cast cleanup 2013-07-29 21:07:02 +02:00
i386 hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
ide ide: Introduce abstract QOM type for PCIIDEState 2013-07-29 20:41:49 +02:00
input pl050: QOM'ify pl050_keyboard and pl050_mouse 2013-07-29 21:06:57 +02:00
intc ioapic: QOM cast cleanup 2013-07-29 21:07:02 +02:00
isa i82378: Cleanup implementation 2013-07-31 23:25:41 +02:00
lm32 hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
m68k hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
microblaze hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
mips hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
misc hw/misc: make pvpanic known to user 2013-08-12 11:20:57 -05:00
moxie memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
net pcnet: Flush queued packets on end of STOP state 2013-08-05 14:11:17 +02:00
nvram fw_cfg: the I/O port variant expects little-endian 2013-08-07 12:48:15 -05:00
openrisc hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
pci pci: add config space access traces 2013-08-28 10:11:23 +03:00
pci-bridge i82801b11: Fix i82801b11 PCI host bridge config space 2013-08-12 12:07:12 +03:00
pci-host pc: fix regression for 64 bit PCI memory 2013-08-27 10:13:41 +03:00
ppc hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
s390x hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
scsi spapr: Rename 'dprintf' to 'DPRINTF' 2013-07-29 19:56:46 -05:00
sd pl181: QOM cast cleanup 2013-07-29 21:07:00 +02:00
sh4 hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
sparc hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
sparc64 hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
ssi xilinx_spi: QOM cast cleanup 2013-07-29 21:07:01 +02:00
timer hw/timer/imx_epit: Simplify and fix imx_epit implementation 2013-08-20 14:54:32 +01:00
tpm hw/t*: pass owner to memory_region_init* functions 2013-07-04 17:42:48 +02:00
unicore32 hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
usb xhci: implement warm port reset 2013-08-08 13:29:25 +02:00
virtio virtio: virtqueue_get_avail_bytes: fix desc_pa when loop over the indirect descriptor table 2013-08-25 12:52:33 +03:00
watchdog devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
xen devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
xtensa hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
Makefile.objs virtio: simplify Makefile conditionals 2013-04-19 16:18:11 +02:00