diff options
author | 2017-07-09 17:37:22 +0100 | |
---|---|---|
committer | 2017-07-18 13:27:04 -0700 | |
commit | 64c7c1175b4e3e6fe005934cde63259d8adad392 (patch) | |
tree | d28eb3ea6004e1499732930e106c636060df0734 /bsd-user/bsdload.c | |
parent | hw/xen: Set emu_mask for igd_opregion register (diff) | |
download | 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 'bsd-user/bsdload.c')
0 files changed, 0 insertions, 0 deletions