virtio-iommu: Remove the end point on detach
authorEric Auger <eric.auger@redhat.com>
Tue, 16 Jul 2024 09:45:06 +0000 (11:45 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 23 Jul 2024 00:15:42 +0000 (20:15 -0400)
commit1993d634d57718d6eb107c973b7c8b80a6d91338
treef7e35d35c580331fcf8f3a83fde29d1366945444
parent62ac01d1de5096022e08355f8df47bf1191a3ed1
virtio-iommu: Remove the end point on detach

We currently miss the removal of the endpoint in case of detach.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Message-Id: <20240716094619.1713905-5-eric.auger@redhat.com>
Tested-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/virtio-iommu.c