Re: [RFC PATCH 4/4] drm/i915/gvt: move public gvt headers out into global include

From: Greg KH
Date: Thu Jan 16 2020 - 09:23:50 EST


On Thu, Jan 16, 2020 at 03:13:01PM +0100, Julian Stecklina wrote:
> Hi Greg, Christoph,
>
> On Wed, 2020-01-15 at 16:22 +0100, Greg KH wrote:
> > On Thu, Jan 09, 2020 at 07:13:57PM +0200, Julian Stecklina wrote:
> > > Now that the GVT interface to hypervisors does not depend on i915/GVT
> > > internals anymore, we can move the headers to the global include/.
> > >
> > > This makes out-of-tree modules for hypervisor integration possible.
> >
> > What kind of out-of-tree modules do you need/want for this?
>
> The mediated virtualization support in the i915 driver needs a backend to the
> hypervisor. There is currently one backend for KVM in the tree
> (drivers/gpu/drm/i915/gvt/kvmgt.c) and at least 3 other hypervisor backends out
> of tree in various states of development that I know of. We are currently
> developing one of these.

Great, then just submit this patch series as part of your patch series
when submitting yoru hypervisor code. That's the normal way to export
new symbols, we can't do so without an in-kernel user.

thanks,

greg k-h