diff options
| author | Markus Armbruster | 2018-10-17 10:26:40 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2018-10-19 14:51:34 +0200 |
| commit | fff4c9c32595e71bca3d1a89beb0781a5be2201b (patch) | |
| tree | 09a094aef1a8995b90b0c91b92db8c994746fac6 /device_tree.c | |
| parent | numa: Fix QMP command set-numa-node error handling (diff) | |
| download | qemu-fff4c9c32595e71bca3d1a89beb0781a5be2201b.tar.gz qemu-fff4c9c32595e71bca3d1a89beb0781a5be2201b.tar.xz qemu-fff4c9c32595e71bca3d1a89beb0781a5be2201b.zip | |
xen/pt: Fix incomplete conversion to realize()
The conversion of "xen-pci-passthrough" to realize() (commit
5a11d0f7549, 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: 5a11d0f7549e24a10e178a9dc8ff5e698031d9a6
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>
Diffstat (limited to 'device_tree.c')
0 files changed, 0 insertions, 0 deletions
