Re: [PATCH V13 1/6] mdev: make mdev bus agnostic

2019-11-19 Thread Randy Dunlap
On 11/18/19 2:59 AM, Jason Wang wrote: > diff --git a/drivers/vfio/mdev/Kconfig b/drivers/vfio/mdev/Kconfig > index 5da27f2100f9..2e07ca915a96 100644 > --- a/drivers/vfio/mdev/Kconfig > +++ b/drivers/vfio/mdev/Kconfig > @@ -1,15 +1,24 @@ > -# SPDX-License-Identifier: GPL-2.0-only > > -config VFIO

[PATCH V13 1/6] mdev: make mdev bus agnostic

2019-11-18 Thread Jason Wang
Current mdev is tied to a VFIO specific "mdev" bus. This prevent mdev from being used by other types of API/buses. So this patch tries to make mdev bus agnostic through making a mdev core a thin module: - decouple VFIO bus specific bits from mdev_core.c to mdev_vfio.c and introduce mdev_vfio mod