qemu-e2k/hw
Markus Armbruster 28fa7133b8 ide: Fix bootindex for bus_id > 9
We identify devices by their Open Firmware device paths.  The encoding
of bus numbers is incorrect: idebus_get_fw_dev_path() formats them in
decimal, while SeaBIOS uses hexadecimal.  With bus number > 9, SeaBIOS
will miss the bootindex (lucky case), or apply it to another device
(unlucky case).

Bug can't bite right now: ich9-ahci has six ports, and the sysbus-ahci
created by Calxeda Highbank has just one.

Fix it anyway, by changing %d to %x.

I couldn't find an Open Firmware spec covering this.  For what it's
worth, OVMF agrees with SeaBIOS.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-08-29 10:46:57 +01:00
..
9pfs
acpi pcihp: fix possible array out of bounds 2014-08-25 00:16:06 +02:00
alpha
arm arm: stellaris: Remove misleading address_space_mem var 2014-08-19 19:02:40 +01:00
audio SCSI changes that enable sending vendor-specific commands via virtio-scsi. 2014-08-19 13:00:57 +01:00
block SCSI patches include bug fixes from Fam and Peter, improved error 2014-08-28 17:08:13 +01:00
bt l2cap: fix access to freed memory 2014-08-15 19:12:48 +04:00
char SCSI changes that enable sending vendor-specific commands via virtio-scsi. 2014-08-19 13:00:57 +01:00
core cpus: Define callback for QEMU "nmi" command 2014-08-25 13:25:16 +02:00
cpu
cris
display memory: convert memory_region_destroy to object_unparent 2014-08-18 12:06:20 +02:00
dma dma: axidma: Variablise repeated s->streams[i] sub-expr 2014-08-24 13:16:32 +04:00
gpio
i2c
i386 ssdt-tpm: add generated hex file to git 2014-08-25 00:16:06 +02:00
ide ide: Fix bootindex for bus_id > 9 2014-08-29 10:46:57 +01:00
input
intc intc: i8259: Convert Array allocation to g_new0 2014-08-15 18:54:55 +04:00
ipack memory: remove memory_region_destroy 2014-08-18 12:06:21 +02:00
isa isa-bus: don't use 'Yoda conditions' 2014-08-15 18:54:06 +04:00
lm32
m68k
mem pc-dimm: fix up error message 2014-08-14 13:22:00 +02:00
microblaze microblaze: ml605: Get rid of ddr_base variable 2014-08-24 13:16:32 +04:00
mips memory: convert memory_region_destroy to object_unparent 2014-08-18 12:06:20 +02:00
misc vfio: Enable NVIDIA 88000 region quirk regardless of VGA 2014-08-25 12:10:15 -06:00
moxie
net vmxnet3: Pad short frames to minimum size (60 bytes) 2014-08-24 17:11:08 +04:00
nvram
openrisc
pci pcie: fix trailing whitespace 2014-08-25 00:16:07 +02:00
pci-bridge ioh3420: Enable ARI forwarding 2014-08-25 00:16:06 +02:00
pci-host Merge remote-tracking branch 'remotes/mcayland/qemu-sparc' into staging 2014-08-18 12:55:02 +01:00
pcmcia
ppc spapr: Add support for new NMI interface 2014-08-25 13:25:16 +02:00
s390x s390x: Migrate to new NMI interface 2014-08-25 13:25:16 +02:00
scsi virtio-scsi: Report error if num_queues is 0 or too large 2014-08-26 13:20:44 +02:00
sd sd: sdhci: Fix ADMA dma_memory_read access 2014-08-04 14:41:54 +01:00
sh4
sparc
sparc64 sun4u: switch second PCI-ebus bridge BAR over to PCI IO space 2014-08-17 13:12:52 +01:00
ssi ssi: xilinx_spi: Initialise CS GPIOs as NULL 2014-08-15 18:54:40 +04:00
timer mc146818rtc: reinitialize irq_reinject_on_ack_count on reset 2014-08-27 17:54:52 +02:00
tpm Add ACPI tables for TPM 2014-08-25 00:16:06 +02:00
unicore32
usb SCSI changes that enable sending vendor-specific commands via virtio-scsi. 2014-08-19 13:00:57 +01:00
virtio SCSI changes that enable sending vendor-specific commands via virtio-scsi. 2014-08-19 13:00:57 +01:00
watchdog memory: remove memory_region_destroy 2014-08-18 12:06:21 +02:00
xen memory: remove memory_region_destroy 2014-08-18 12:06:21 +02:00
xenpv
xtensa
Makefile.objs