]> git.baikalelectronics.ru Git - kernel.git/commit
s390/vfio-ap: hot plug/unplug of AP devices when probed/removed
authorTony Krowiak <akrowiak@linux.ibm.com>
Tue, 1 Feb 2022 15:52:29 +0000 (10:52 -0500)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 19 Jul 2022 14:18:11 +0000 (16:18 +0200)
commit9725289891c6c87171191340200f81667626bcd8
tree08ced3ceff05e407f9deb8455d44cd03cff613c0
parent6d2a6e85650f6870b5b6219fe408a34c0cf2a524
s390/vfio-ap: hot plug/unplug of AP devices when probed/removed

When an AP queue device is probed or removed, if the mediated device is
attached to a KVM guest, the mediated device's adapter, domain and
control domain bitmaps must be filtered to update the guest's APCB and if
any changes are detected, the guest's APCB must then be hot plugged into
the guest to reflect those changes to the guest.

Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com>
Reviewed-by: Jason J. Herne <jjherne@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
drivers/s390/crypto/vfio_ap_ops.c