Re: [PATCH 2/2] vfio/mdev: don't warn if ->request is not set

From: Jason Gunthorpe
Date: Mon Jul 26 2021 - 19:09:17 EST


On Mon, Jul 26, 2021 at 07:07:04PM +0200, Cornelia Huck wrote:

> But I wonder why nobody else implements this? Lack of surprise removal?

The only implementation triggers an eventfd that seems to be the same
eventfd as the interrupt..

Do you know how this works in userspace? I'm surprised that the
interrupt eventfd can trigger an observation that the kernel driver
wants to be unplugged?

Jason