Re: [PATCH v9 18/22] s390: vfio-ap: implement VFIO_DEVICE_RESET ioctl

2018-08-17 Thread Tony Krowiak
On 08/17/2018 05:38 AM, Cornelia Huck wrote: On Wed, 15 Aug 2018 17:05:48 -0400 Tony Krowiak wrote: On 08/15/2018 12:38 PM, Cornelia Huck wrote: On Mon, 13 Aug 2018 17:48:15 -0400 Tony Krowiak wrote: + case VFIO_DEVICE_RESET: + ret = vfio_ap_mdev_reset_queues(mdev,

Re: [PATCH v9 18/22] s390: vfio-ap: implement VFIO_DEVICE_RESET ioctl

2018-08-17 Thread Tony Krowiak
On 08/17/2018 05:38 AM, Cornelia Huck wrote: On Wed, 15 Aug 2018 17:05:48 -0400 Tony Krowiak wrote: On 08/15/2018 12:38 PM, Cornelia Huck wrote: On Mon, 13 Aug 2018 17:48:15 -0400 Tony Krowiak wrote: + case VFIO_DEVICE_RESET: + ret = vfio_ap_mdev_reset_queues(mdev,

Re: [PATCH v9 18/22] s390: vfio-ap: implement VFIO_DEVICE_RESET ioctl

2018-08-17 Thread Cornelia Huck
On Wed, 15 Aug 2018 17:05:48 -0400 Tony Krowiak wrote: > On 08/15/2018 12:38 PM, Cornelia Huck wrote: > > On Mon, 13 Aug 2018 17:48:15 -0400 > > Tony Krowiak wrote: > >> + case VFIO_DEVICE_RESET: > >> + ret = vfio_ap_mdev_reset_queues(mdev, true); > > If I see it correctly, you

Re: [PATCH v9 18/22] s390: vfio-ap: implement VFIO_DEVICE_RESET ioctl

2018-08-17 Thread Cornelia Huck
On Wed, 15 Aug 2018 17:05:48 -0400 Tony Krowiak wrote: > On 08/15/2018 12:38 PM, Cornelia Huck wrote: > > On Mon, 13 Aug 2018 17:48:15 -0400 > > Tony Krowiak wrote: > >> + case VFIO_DEVICE_RESET: > >> + ret = vfio_ap_mdev_reset_queues(mdev, true); > > If I see it correctly, you

Re: [PATCH v9 18/22] s390: vfio-ap: implement VFIO_DEVICE_RESET ioctl

2018-08-15 Thread Tony Krowiak
On 08/15/2018 12:38 PM, Cornelia Huck wrote: On Mon, 13 Aug 2018 17:48:15 -0400 Tony Krowiak wrote: From: Tony Krowiak Implements the VFIO_DEVICE_RESET ioctl. This ioctl zeroizes all of the AP queues assigned to the guest. Signed-off-by: Tony Krowiak Reviewed-by: Halil Pasic Tested-by:

Re: [PATCH v9 18/22] s390: vfio-ap: implement VFIO_DEVICE_RESET ioctl

2018-08-15 Thread Tony Krowiak
On 08/15/2018 12:38 PM, Cornelia Huck wrote: On Mon, 13 Aug 2018 17:48:15 -0400 Tony Krowiak wrote: From: Tony Krowiak Implements the VFIO_DEVICE_RESET ioctl. This ioctl zeroizes all of the AP queues assigned to the guest. Signed-off-by: Tony Krowiak Reviewed-by: Halil Pasic Tested-by:

Re: [PATCH v9 18/22] s390: vfio-ap: implement VFIO_DEVICE_RESET ioctl

2018-08-15 Thread Cornelia Huck
On Mon, 13 Aug 2018 17:48:15 -0400 Tony Krowiak wrote: > From: Tony Krowiak > > Implements the VFIO_DEVICE_RESET ioctl. This ioctl zeroizes > all of the AP queues assigned to the guest. > > Signed-off-by: Tony Krowiak > Reviewed-by: Halil Pasic > Tested-by: Michael Mueller > Tested-by:

Re: [PATCH v9 18/22] s390: vfio-ap: implement VFIO_DEVICE_RESET ioctl

2018-08-15 Thread Cornelia Huck
On Mon, 13 Aug 2018 17:48:15 -0400 Tony Krowiak wrote: > From: Tony Krowiak > > Implements the VFIO_DEVICE_RESET ioctl. This ioctl zeroizes > all of the AP queues assigned to the guest. > > Signed-off-by: Tony Krowiak > Reviewed-by: Halil Pasic > Tested-by: Michael Mueller > Tested-by:

[PATCH v9 18/22] s390: vfio-ap: implement VFIO_DEVICE_RESET ioctl

2018-08-13 Thread Tony Krowiak
From: Tony Krowiak Implements the VFIO_DEVICE_RESET ioctl. This ioctl zeroizes all of the AP queues assigned to the guest. Signed-off-by: Tony Krowiak Reviewed-by: Halil Pasic Tested-by: Michael Mueller Tested-by: Farhan Ali Reviewed-by: Pierre Morel Tested-by: Pierre Morel Signed-off-by:

[PATCH v9 18/22] s390: vfio-ap: implement VFIO_DEVICE_RESET ioctl

2018-08-13 Thread Tony Krowiak
From: Tony Krowiak Implements the VFIO_DEVICE_RESET ioctl. This ioctl zeroizes all of the AP queues assigned to the guest. Signed-off-by: Tony Krowiak Reviewed-by: Halil Pasic Tested-by: Michael Mueller Tested-by: Farhan Ali Reviewed-by: Pierre Morel Tested-by: Pierre Morel Signed-off-by: