RE: [PATCHv4 3/3] vfio/mdev: Synchronize device create/remove with parent removal

2019-05-30 Thread Parav Pandit
Hi Alex, > -Original Message- > From: Alex Williamson > Sent: Wednesday, May 29, 2019 8:27 PM [..] > > > > diff --git a/drivers/vfio/mdev/mdev_core.c > > b/drivers/vfio/mdev/mdev_core.c index 0bef0cae1d4b..c5401a8c6843 > > 100644 > > --- a/drivers/vfio/mdev/mdev_core.c > > +++ b/drivers/

Re: [PATCHv4 3/3] vfio/mdev: Synchronize device create/remove with parent removal

2019-05-29 Thread Alex Williamson
On Fri, 24 May 2019 08:57:38 -0500 Parav Pandit wrote: > In following sequences, child devices created while removing mdev parent > device can be left out, or it may lead to race of removing half > initialized child mdev devices. > > issue-1: > >cpu-0 cpu