Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-16 Thread Tony Krowiak
On 12/16/20 11:05 AM, Christian Borntraeger wrote: On 16.12.20 10:58, Christian Borntraeger wrote: On 16.12.20 02:21, Halil Pasic wrote: On Tue, 15 Dec 2020 19:10:20 +0100 Christian Borntraeger wrote: On 15.12.20 11:57, Halil Pasic wrote: On Mon, 14 Dec 2020 11:56:17 -0500 Tony Krowiak

Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-16 Thread Tony Krowiak
On 12/14/20 11:56 AM, Tony Krowiak wrote: The vfio_ap device driver registers a group notifier with VFIO when the file descriptor for a VFIO mediated device for a KVM guest is opened to receive notification that the KVM pointer is set (VFIO_GROUP_NOTIFY_SET_KVM event). When the KVM pointer is

Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-16 Thread Halil Pasic
On Wed, 16 Dec 2020 10:58:48 +0100 Christian Borntraeger wrote: > On 16.12.20 02:21, Halil Pasic wrote: > > On Tue, 15 Dec 2020 19:10:20 +0100 > > Christian Borntraeger wrote: > > > >> > >> > >> On 15.12.20 11:57, Halil Pasic wrote: > >>> On Mon, 14 Dec 2020 11:56:17 -0500 > >>> Tony Krowiak w

Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-16 Thread Halil Pasic
On Wed, 16 Dec 2020 17:05:24 +0100 Christian Borntraeger wrote: > > > On 16.12.20 10:58, Christian Borntraeger wrote: > > On 16.12.20 02:21, Halil Pasic wrote: > >> On Tue, 15 Dec 2020 19:10:20 +0100 > >> Christian Borntraeger wrote: > >> > >>> > >>> > >>> On 15.12.20 11:57, Halil Pasic wrote:

Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-16 Thread Christian Borntraeger
On 16.12.20 10:58, Christian Borntraeger wrote: > On 16.12.20 02:21, Halil Pasic wrote: >> On Tue, 15 Dec 2020 19:10:20 +0100 >> Christian Borntraeger wrote: >> >>> >>> >>> On 15.12.20 11:57, Halil Pasic wrote: On Mon, 14 Dec 2020 11:56:17 -0500 Tony Krowiak wrote: > The vfi

Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-16 Thread Christian Borntraeger
On 16.12.20 02:21, Halil Pasic wrote: > On Tue, 15 Dec 2020 19:10:20 +0100 > Christian Borntraeger wrote: > >> >> >> On 15.12.20 11:57, Halil Pasic wrote: >>> On Mon, 14 Dec 2020 11:56:17 -0500 >>> Tony Krowiak wrote: >>> The vfio_ap device driver registers a group notifier with VFIO when t

Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-15 Thread Halil Pasic
On Tue, 15 Dec 2020 19:10:20 +0100 Christian Borntraeger wrote: > > > On 15.12.20 11:57, Halil Pasic wrote: > > On Mon, 14 Dec 2020 11:56:17 -0500 > > Tony Krowiak wrote: > > > >> The vfio_ap device driver registers a group notifier with VFIO when the > >> file descriptor for a VFIO mediated

Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-15 Thread Christian Borntraeger
On 15.12.20 11:57, Halil Pasic wrote: > On Mon, 14 Dec 2020 11:56:17 -0500 > Tony Krowiak wrote: > >> The vfio_ap device driver registers a group notifier with VFIO when the >> file descriptor for a VFIO mediated device for a KVM guest is opened to >> receive notification that the KVM pointer

Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-15 Thread Cornelia Huck
On Mon, 14 Dec 2020 11:56:17 -0500 Tony Krowiak wrote: > The vfio_ap device driver registers a group notifier with VFIO when the > file descriptor for a VFIO mediated device for a KVM guest is opened to > receive notification that the KVM pointer is set (VFIO_GROUP_NOTIFY_SET_KVM > event). When t

Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-15 Thread Halil Pasic
On Mon, 14 Dec 2020 11:56:17 -0500 Tony Krowiak wrote: > The vfio_ap device driver registers a group notifier with VFIO when the > file descriptor for a VFIO mediated device for a KVM guest is opened to > receive notification that the KVM pointer is set (VFIO_GROUP_NOTIFY_SET_KVM > event). When t

Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-14 Thread Tony Krowiak
On 12/14/20 2:43 PM, Greg KH wrote: On Mon, Dec 14, 2020 at 02:39:17PM -0500, Tony Krowiak wrote: On 12/14/20 12:07 PM, Greg KH wrote: On Mon, Dec 14, 2020 at 11:56:17AM -0500, Tony Krowiak wrote: The vfio_ap device driver registers a group notifier with VFIO when the file descriptor for a

Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-14 Thread Greg KH
On Mon, Dec 14, 2020 at 02:39:17PM -0500, Tony Krowiak wrote: > > > On 12/14/20 12:07 PM, Greg KH wrote: > > On Mon, Dec 14, 2020 at 11:56:17AM -0500, Tony Krowiak wrote: > > > The vfio_ap device driver registers a group notifier with VFIO when the > > > file descriptor for a VFIO mediated device

Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-14 Thread Tony Krowiak
On 12/14/20 12:07 PM, Greg KH wrote: On Mon, Dec 14, 2020 at 11:56:17AM -0500, Tony Krowiak wrote: The vfio_ap device driver registers a group notifier with VFIO when the file descriptor for a VFIO mediated device for a KVM guest is opened to receive notification that the KVM pointer is set (

Re: [PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-14 Thread Greg KH
On Mon, Dec 14, 2020 at 11:56:17AM -0500, Tony Krowiak wrote: > The vfio_ap device driver registers a group notifier with VFIO when the > file descriptor for a VFIO mediated device for a KVM guest is opened to > receive notification that the KVM pointer is set (VFIO_GROUP_NOTIFY_SET_KVM > event). W

[PATCH v3] s390/vfio-ap: clean up vfio_ap resources when KVM pointer invalidated

2020-12-14 Thread Tony Krowiak
The vfio_ap device driver registers a group notifier with VFIO when the file descriptor for a VFIO mediated device for a KVM guest is opened to receive notification that the KVM pointer is set (VFIO_GROUP_NOTIFY_SET_KVM event). When the KVM pointer is set, the vfio_ap driver takes the following act