qemu-e2k/hw/xen
Markus Armbruster fff4c9c325 xen/pt: Fix incomplete conversion to realize()
The conversion of "xen-pci-passthrough" to realize() (commit
5a11d0f754, v2.6.0) neglected to convert the xen_pt_config_init()
error path.  If xen_pt_config_init() fails, xen_pt_realize() reports
the error, then returns success without completing its job.  I don't
know the exact impact, but it can't be good.

Belatedly convert the error path.

Fixes: 5a11d0f754
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Anthony Perard <anthony.perard@citrix.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Message-Id: <20181017082702.5581-17-armbru@redhat.com>
2018-10-19 14:51:34 +02:00
..
Makefile.objs pci-assign: Remove 2017-11-05 14:52:10 +01:00
trace-events trace-events: fix code style: %# -> 0x% 2017-08-01 12:13:07 +01:00
xen_backend.c xen_backend: make the xen_feature_grant_copy flag private 2018-05-22 11:43:21 -07:00
xen_devconfig.c hw: Do not include "sysemu/block-backend.h" if it is not necessary 2018-06-01 14:15:10 +02:00
xen_pt_config_init.c xen_pt: Present the size of 64 bit BARs correctly 2018-05-18 11:03:19 -07:00
xen_pt_graphics.c xen: Don't use memory_region_init_ram_nomigrate() in pci_assign_dev_load_option_rom() 2018-06-22 13:28:42 +01:00
xen_pt_load_rom.c xen: Don't use memory_region_init_ram_nomigrate() in pci_assign_dev_load_option_rom() 2018-06-22 13:28:42 +01:00
xen_pt_msi.c Make MemoryRegion valid.accepts callback take a MemTxAttrs argument 2018-05-31 16:32:35 +01:00
xen_pt.c xen/pt: Fix incomplete conversion to realize() 2018-10-19 14:51:34 +02:00
xen_pt.h xen: Don't use memory_region_init_ram_nomigrate() in pci_assign_dev_load_option_rom() 2018-06-22 13:28:42 +01:00
xen_pvdev.c xen: create qdev for each backend device 2016-11-22 10:29:39 -08:00
xen-common.c xen: Expect xenstore write to fail when restricted 2018-04-26 16:29:51 +01:00
xen-host-pci-device.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
xen-host-pci-device.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00