]> Git Repo - qemu.git/commit
xen/pt: Fix incomplete conversion to realize()
authorMarkus Armbruster <[email protected]>
Wed, 17 Oct 2018 08:26:40 +0000 (10:26 +0200)
committerMarkus Armbruster <[email protected]>
Fri, 19 Oct 2018 12:51:34 +0000 (14:51 +0200)
commitfff4c9c32595e71bca3d1a89beb0781a5be2201b
tree09a094aef1a8995b90b0c91b92db8c994746fac6
parenta22528b918c7d29795129b5a64c4cb44bb57a44d
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 <[email protected]>
Cc: Anthony Perard <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Acked-by: Anthony PERARD <[email protected]>
Message-Id: <20181017082702[email protected]>
hw/xen/xen_pt.c
This page took 0.024518 seconds and 4 git commands to generate.