qemu-e2k/hw/audio
Cao jin 1108b2f8a9 pci: Convert msi_init() to Error and fix callers to check it
msi_init() reports errors with error_report(), which is wrong
when it's used in realize().

Fix by converting it to Error.

Fix its callers to handle failure instead of ignoring it.

For those callers who don't handle the failure, it might happen:
when user want msi on, but he doesn't get what he want because of
msi_init fails silently.

cc: Gerd Hoffmann <kraxel@redhat.com>
cc: John Snow <jsnow@redhat.com>
cc: Dmitry Fleytman <dmitry@daynix.com>
cc: Jason Wang <jasowang@redhat.com>
cc: Michael S. Tsirkin <mst@redhat.com>
cc: Hannes Reinecke <hare@suse.de>
cc: Paolo Bonzini <pbonzini@redhat.com>
cc: Alex Williamson <alex.williamson@redhat.com>
cc: Markus Armbruster <armbru@redhat.com>
cc: Marcel Apfelbaum <marcel@redhat.com>

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
2016-07-05 13:14:41 +03:00
..
ac97.c audio: Clean up includes 2016-02-02 13:57:31 +01:00
adlib.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
cs4231.c hw/audio: QOM'ify cs4231.c 2016-06-03 11:13:38 +02:00
cs4231a.c cs4231a: use IsaDma interface instead of global DMA_* functions 2016-02-03 11:28:58 -05:00
es1370.c ES1370: QOMify 2016-02-11 15:15:46 +03:00
fmopl.c audio: Clean up includes 2016-02-02 13:57:31 +01:00
fmopl.h
gus.c replace muldiv64(a, b, c) by (uint64_t)a * b / c 2016-06-07 18:02:49 +03:00
gusemu_hal.c audio: Clean up includes 2016-02-02 13:57:31 +01:00
gusemu_mixer.c audio: Clean up includes 2016-02-02 13:57:31 +01:00
gusemu.h all: Clean up includes 2016-02-23 12:43:05 +00:00
gustate.h
hda-codec-common.h
hda-codec.c audio: Clean up includes 2016-02-02 13:57:31 +01:00
intel-hda-defs.h
intel-hda.c pci: Convert msi_init() to Error and fix callers to check it 2016-07-05 13:14:41 +03:00
intel-hda.h
lm4549.c audio: Clean up includes 2016-02-02 13:57:31 +01:00
lm4549.h
Makefile.objs
marvell_88w8618.c audio: Clean up includes 2016-02-02 13:57:31 +01:00
milkymist-ac97.c milkymist: update specification URLs 2016-06-20 18:12:04 +02:00
pcspk.c pcspk: fix KVM 2016-06-30 19:00:02 +01:00
pl041.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
pl041.h
pl041.hx
sb16.c Replaced get_tick_per_sec() by NANOSECONDS_PER_SECOND 2016-03-22 22:20:17 +01:00
trace-events trace: split out trace events for hw/audio/ directory 2016-06-20 17:22:15 +01:00
wm8750.c audio: Clean up includes 2016-02-02 13:57:31 +01:00