diff options
author | Peter Maydell | 2017-07-09 18:37:22 +0200 |
---|---|---|
committer | Stefano Stabellini | 2017-07-18 22:27:04 +0200 |
commit | 64c7c1175b4e3e6fe005934cde63259d8adad392 (patch) | |
tree | d28eb3ea6004e1499732930e106c636060df0734 /hw/pci-host/bonito.c | |
parent | hw/xen: Set emu_mask for igd_opregion register (diff) | |
download | qemu-64c7c1175b4e3e6fe005934cde63259d8adad392.tar.gz qemu-64c7c1175b4e3e6fe005934cde63259d8adad392.tar.xz qemu-64c7c1175b4e3e6fe005934cde63259d8adad392.zip |
xen_pt_msi.c: Check for xen_host_pci_get_* failures in xen_pt_msix_init()
Check the return status of the xen_host_pci_get_* functions we call in
xen_pt_msix_init(), and fail device init if the reads failed rather than
ploughing ahead. (Spotted by Coverity: CID 777338.)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'hw/pci-host/bonito.c')
0 files changed, 0 insertions, 0 deletions