[PATCH v2] drm/i915/gvt: Dereference msi eventfd_ctx when it isn't used anymore

Zhenyu Wang zhenyuw at linux.intel.com
Tue Apr 17 02:42:24 UTC 2018


On 2018.04.16 10:39:02 +0800, Zhenyu Wang wrote:
> On 2018.04.13 10:26:16 +0800, Xiong Zhang wrote:
> > kvmgt get msi eventfd_ctx at qemu vfio set irq eventfd, then
> > msi eventfd_ctx should be put at some point.
> > The first point is kvmgt handle qemu vfio_disable_irqindex()
> > call which has DATA_NONE and ACTION_TRIGGER in flags.
> > If qemu doesn't call vfio_disable_irqindex(), the second point
> > is vgpu release function.
> > 
> > v2: Don't inject msi interrupt into guest if eventfd_ctx is dereferenced
> > 
> > Signed-off-by: Xiong Zhang <xiong.y.zhang at intel.com>
> > ---
> 
> Reviewed-by: Zhenyu Wang <zhenyuw at linux.intel.com>
> 

Applied this, thanks!

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20180417/6f7b8716/attachment.sig>


More information about the intel-gvt-dev mailing list