Commit f3bb8b5
committed
iommu/vfio: reset iova reserve context when close
If we don't reset the iova reserve context properly in
vfio_put_device_fio(), iova will incremently be growing even if
application closed the vfio fd and re-open it again. To start from the
beginning, reset the context properly when closing the file.
Signed-off-by: Minwoo Im <minwoo.im@samsung.com>1 parent f922041 commit f3bb8b5
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
621 | 624 | | |
622 | 625 | | |
623 | 626 | | |
| |||
0 commit comments