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
2014-08-20 21:15:56 +02:00
…
2014-06-23 11:00:12 -04:00
2014-08-29 10:46:57 +01:00
2014-08-26 13:52:15 +01:00
2014-08-15 15:07:14 +02:00
2014-08-26 13:52:15 +01:00
2014-08-18 14:39:10 -04:00
2014-08-24 13:16:32 +04:00
2014-08-15 18:54:07 +04:00
…
2014-06-16 13:24:35 +02:00
…
2014-06-09 15:43:40 +02:00
2014-07-09 15:50:11 +02:00
2014-08-09 00:06:32 +04:00
2014-07-09 15:50:11 +02:00
2014-06-23 11:12:28 -04:00
…
…
…
2014-08-24 13:16:32 +04:00
…
2014-08-12 14:26:12 +01:00
2014-08-25 13:25:16 +02:00
…
2014-07-14 12:03:21 +02:00
…
…
2014-06-19 18:44:21 +03:00
2014-06-19 16:41:54 +03:00
…
2014-06-23 19:09:50 +02:00
2014-08-18 14:39:10 -04:00
2014-06-30 12:50:17 +02:00
…
…
2014-08-06 17:53:07 +02:00
…
…
…
…
2014-08-12 14:29:55 +01:00
2014-08-01 18:30:08 +01:00
…
2014-07-07 10:37:40 +00:00

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

- QEMU team
S
Description
A QEMU emulator for legacy Apple devices
Readme GPL-2.0
557 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.9%
C++ 6.4%
Python 3.3%
Dylan 2.9%
Shell 1.6%
Other 2.7%