commit | 572f64c71e0fe30089699b22ce0ca3d4bf452ce9 | [log] [tgz] |
---|---|---|
author | Zenghui Yu <yuzenghui@huawei.com> | Thu Oct 22 20:24:17 2020 +0800 |
committer | Alex Williamson <alex.williamson@redhat.com> | Mon Nov 02 14:58:29 2020 -0700 |
tree | 8e1f6e2012e338f8d5f20a997b789ae6a9a49ba4 | |
parent | 3cea11cd5e3b00d91caf0b4730194039b45c5891 [diff] |
vfio/type1: Use the new helper to find vfio_group When attaching a new group to the container, let's use the new helper vfio_iommu_find_iommu_group() to check if it's already attached. There is no functional change. Also take this chance to add a missing blank line. Signed-off-by: Zenghui Yu <yuzenghui@huawei.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>