summaryrefslogtreecommitdiffstats
path: root/hw/pci-host/q35.c
diff options
context:
space:
mode:
authorPeter Maydell2017-07-09 18:37:22 +0200
committerStefano Stabellini2017-07-18 22:27:04 +0200
commit64c7c1175b4e3e6fe005934cde63259d8adad392 (patch)
treed28eb3ea6004e1499732930e106c636060df0734 /hw/pci-host/q35.c
parenthw/xen: Set emu_mask for igd_opregion register (diff)
downloadqemu-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/q35.c')
0 files changed, 0 insertions, 0 deletions