Re: [PATCH v6 00/20] Add VFIO mediated device support and DEV-MSI support for the idxd driver

Jason Gunthorpe
2021-06-03T01:49:37Z

On Thu, Jun 03, 2021 at 01:11:37AM +0000, Tian, Kevin wrote:

> Jason, can you clarify your attitude on mdev guid stuff? Are you
> completely against it or case-by-case? If the former, this is a big
> decision thus it's better to have consensus with Alex/Kirti. If the
> latter, would like to hear your criteria for when it can be used
> and when not...

I dislike it generally, but it exists so <shrug>. I know others feel
more strongly about it being un-kernely and the wrong way to use sysfs.

Here I was remarking how the example in the cover letter made the mdev
part seem totally pointless. If it is pointless then don't do it.

Remember we have stripped away the actual special need to use
mdev. You don't *have* to use mdev anymore to use vfio. That is a
significant ideology change even from a few months ago.

Jason