Files
acrn-hypervisor/hypervisor/arch/x86
Binbin Wu 74023a9a75 hv: vtd: check bus number when assign/unassign device
Input parameter "bus" of assign_iommu_device/unassign_iommu_device may be from hypercall.
And the conext tables are static allocated according to CONFIG_IOMMU_BUS_NUM.
Need to check the bus value to avoid access invalid memory address with invalid value.

Tracked-On: #2743
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2019-03-14 13:07:59 +08:00
..
2018-12-19 09:07:14 +08:00
2019-03-14 10:38:17 +08:00
2019-03-14 10:38:17 +08:00
2019-02-22 13:14:36 +08:00
2019-02-22 13:14:36 +08:00
2019-03-14 10:38:17 +08:00
2019-02-22 13:14:36 +08:00
2019-02-22 13:14:36 +08:00