Gerd Hoffmann 81a322d4a1 qdev: add return value to init() callbacks.
Sorry folks, but it has to be.  One more of these invasive qdev patches.

We have a serious design bug in the qdev interface:  device init
callbacks can't signal failure because the init() callback has no
return value.  This patch fixes it.

We have already one case in-tree where this is needed:
Try -device virtio-blk-pci (without drive= specified) and watch qemu
segfault.  This patch fixes it.

With usb+scsi being converted to qdev we'll get more devices where the
init callback can fail for various reasons.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-08-27 20:43:28 -05:00
2009-08-26 13:55:44 +04:00
2009-08-10 13:05:39 -05:00
2009-08-01 10:13:43 +00:00
2009-08-25 01:14:14 +02:00
2009-08-27 20:30:22 -05:00
2009-07-27 14:09:20 -05:00
2009-08-27 20:30:20 -05:00
2009-07-09 16:06:38 -05:00
2009-07-27 14:09:20 -05:00
2009-08-10 13:05:25 -05:00
2009-08-27 20:35:30 -05:00
2009-07-02 17:54:34 +00:00
2009-08-27 20:35:30 -05:00
2009-08-27 20:35:24 -05:00
2009-08-27 19:33:15 -05:00
2009-07-30 09:50:36 -05:00
2009-08-24 08:01:42 -05:00
2009-08-27 19:33:15 -05:00
2009-08-27 19:33:15 -05:00
2009-08-24 08:01:40 -05:00
2009-08-10 13:05:48 -05:00
2009-08-24 08:02:55 -05:00
2009-08-27 20:30:20 -05:00
2009-08-15 07:51:59 +00:00
2009-08-15 07:51:59 +00:00
2009-08-10 13:05:27 -05:00
2009-07-27 14:10:55 -05:00
2009-08-10 13:05:25 -05:00
2009-07-22 10:58:49 -05:00
2009-08-10 13:05:31 -05:00
2009-08-10 13:05:39 -05:00
2009-07-08 18:25:37 +04:00
2009-08-23 18:03:34 +02:00
2009-08-27 20:30:20 -05:00
2009-07-27 14:09:15 -05:00
2009-07-16 18:12:18 -05:00
2009-08-27 20:35:24 -05:00
2009-08-01 10:13:20 +00:00
2009-08-10 13:05:31 -05:00
2009-08-10 13:05:30 -05:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme 531 MiB
Languages
C 82.5%
C++ 7%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%