diff options
| author | Tony Krowiak <akrowiak@linux.ibm.com> | 2018-09-26 02:16:26 +0300 |
|---|---|---|
| committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2018-09-28 16:50:09 +0300 |
| commit | 258287c994de8f2f52430b8d79b4fdf2c95f8c91 (patch) | |
| tree | 131bac85ead99ce6ba8bd174ed0179314ac7861b /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
| parent | 42104598ef2e8c3ce532ebec891c9edec161e508 (diff) | |
| download | linux-258287c994de8f2f52430b8d79b4fdf2c95f8c91.tar.xz | |
s390: vfio-ap: implement mediated device open callback
Implements the open callback on the mediated matrix device.
The function registers a group notifier to receive notification
of the VFIO_GROUP_NOTIFY_SET_KVM event. When notified,
the vfio_ap device driver will get access to the guest's
kvm structure. The open callback must ensure that only one
mediated device shall be opened per guest.
Signed-off-by: Tony Krowiak <akrowiak@linux.ibm.com>
Acked-by: Halil Pasic <pasic@linux.ibm.com>
Tested-by: Michael Mueller <mimu@linux.ibm.com>
Tested-by: Farhan Ali <alifm@linux.ibm.com>
Tested-by: Pierre Morel <pmorel@linux.ibm.com>
Acked-by: Pierre Morel <pmorel@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20180925231641.4954-12-akrowiak@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions
