qemu/hw/core
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
..
empty_slot.c empty_slot: QOM cast cleanup 2013-07-29 21:06:37 +02:00
irq.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
loader.c loader: store FW CFG ROM files in RAM 2013-08-21 00:18:39 +03:00
Makefile.objs qdev: Drop taddr properties 2013-04-20 17:54:52 +00:00
null-machine.c hw: Clean up bogus default boot order 2013-08-28 10:16:47 +03:00
ptimer.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
qdev-properties-system.c sysemu: avoid proliferation of include/ subdirectories 2013-04-15 18:19:25 +02:00
qdev-properties.c qdev: Use clz in print_size 2013-07-31 07:54:21 -05:00
qdev.c qdev: Set globals in instance_post_init function 2013-08-16 18:44:33 +02:00
stream.c stream: Remove app argument hack 2013-04-16 10:04:23 +02:00
sysbus.c hw: move target-independent files to subdirectories 2013-04-08 18:13:12 +02:00
uboot_image.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00