RE: [PATCH 7/8] vfio/mdev: Fix aborting mdev child device removal if one fails

2019-03-25 Thread Parav Pandit
Hi Alex, > -Original Message- > From: Alex Williamson > Sent: Monday, March 25, 2019 4:52 PM > To: Parav Pandit > Cc: Kirti Wankhede ; k...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH 7/8] vfio/mdev: Fix aborting mdev child device r

Re: [PATCH 7/8] vfio/mdev: Fix aborting mdev child device removal if one fails

2019-03-25 Thread Alex Williamson
t; > Subject: Re: [PATCH 7/8] vfio/mdev: Fix aborting mdev child device removal > > if > > one fails > > > > On Tue, 26 Mar 2019 01:05:34 +0530 > > Kirti Wankhede wrote: > > > > > On 3/23/2019 4:50 AM, Parav Pandit wrote: > > > >

RE: [PATCH 7/8] vfio/mdev: Fix aborting mdev child device removal if one fails

2019-03-25 Thread Parav Pandit
> -Original Message- > From: Alex Williamson > Sent: Monday, March 25, 2019 3:50 PM > To: Kirti Wankhede > Cc: Parav Pandit ; k...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH 7/8] vfio/mdev: Fix aborting mdev child device removal if &g

Re: [PATCH 7/8] vfio/mdev: Fix aborting mdev child device removal if one fails

2019-03-25 Thread Alex Williamson
On Tue, 26 Mar 2019 01:05:34 +0530 Kirti Wankhede wrote: > On 3/23/2019 4:50 AM, Parav Pandit wrote: > > device_for_each_child() stops executing callback function for remaining > > child devices, if callback hits an error. > > Each child mdev device is independent of each other. > > While unregis

Re: [PATCH 7/8] vfio/mdev: Fix aborting mdev child device removal if one fails

2019-03-25 Thread Kirti Wankhede
On 3/23/2019 4:50 AM, Parav Pandit wrote: > device_for_each_child() stops executing callback function for remaining > child devices, if callback hits an error. > Each child mdev device is independent of each other. > While unregistering parent device, mdev core must remove all child mdev > devic

Re: [PATCH 7/8] vfio/mdev: Fix aborting mdev child device removal if one fails

2019-03-25 Thread Maxim Levitsky
On Fri, 2019-03-22 at 18:20 -0500, Parav Pandit wrote: > device_for_each_child() stops executing callback function for remaining > child devices, if callback hits an error. > Each child mdev device is independent of each other. > While unregistering parent device, mdev core must remove all child md

[PATCH 7/8] vfio/mdev: Fix aborting mdev child device removal if one fails

2019-03-22 Thread Parav Pandit
device_for_each_child() stops executing callback function for remaining child devices, if callback hits an error. Each child mdev device is independent of each other. While unregistering parent device, mdev core must remove all child mdev devices. Therefore, mdev_device_remove_cb() always returns s