Re: [PATCH RFC 00/15] Add VFIO mediated device support and IMS support for the idxd driver.

From: Jason Gunthorpe
Date: Mon Apr 27 2020 - 17:56:57 EST


On Mon, Apr 27, 2020 at 09:25:58AM -0700, Dave Jiang wrote:
> > Also to avoid duplication, ie idxd proposes to have a char dev with a
> > normal kernel driver interface and then an in-kernel emulated MMIO BAR
> > version of that same capability for VFIO consumption.
>
> The char dev interface serves user apps on host (which we will deprecate and
> move to the UACCE framework in near future).

The point is the char dev or UACCE framework should provide enough
capability to implement the emulation in user space.

Jason