aboutsummaryrefslogtreecommitdiff
path: root/gdbstub.c
diff options
context:
space:
mode:
authorLiu Yi L <yi.l.liu@intel.com>2020-01-03 21:28:05 +0800
committerMichael S. Tsirkin <mst@redhat.com>2020-01-06 12:04:51 -0500
commita2e1cd41ccfe796529abfd1b6aeb1dd4393762a2 (patch)
tree56fdb50997352dbde0b6cffe808fd1e6ce878ed3 /gdbstub.c
parentd945d9f1731244ef341f74ede93120fc9de35913 (diff)
downloadqemu-a2e1cd41ccfe796529abfd1b6aeb1dd4393762a2.zip
qemu-a2e1cd41ccfe796529abfd1b6aeb1dd4393762a2.tar.gz
qemu-a2e1cd41ccfe796529abfd1b6aeb1dd4393762a2.tar.bz2
intel_iommu: a fix to vtd_find_as_from_bus_num()
Ensure the return value of vtd_find_as_from_bus_num() is NULL by enforcing vtd_bus=NULL. This would help caller of vtd_find_as_from_bus_num() to decide if any further operation on the returned vtd_bus. Cc: qemu-stable@nongnu.org Cc: Kevin Tian <kevin.tian@intel.com> Cc: Jacob Pan <jacob.jun.pan@linux.intel.com> Cc: Peter Xu <peterx@redhat.com> Cc: Yi Sun <yi.y.sun@linux.intel.com> Signed-off-by: Liu Yi L <yi.l.liu@intel.com> Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com> Message-Id: <1578058086-4288-2-git-send-email-yi.l.liu@intel.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'gdbstub.c')
0 files changed, 0 insertions, 0 deletions