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-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-08-09 00:06:32 +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-08-15 16:37:17 +01:00
2014-08-15 16:37:17 +01:00
2014-08-18 14:39:10 -04:00
2014-08-15 18:44:48 +01:00
2014-08-18 11:59:27 +01:00
2014-08-18 11:59:27 +01: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

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

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%