diff options
author | Xiong Zhang <xiong.y.zhang@intel.com> | 2018-04-13 10:26:16 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2018-04-16 17:24:04 +0800 |
commit | d54e79340ff8d65b6c63ac278158add2fe211fd0 (patch) | |
tree | 1a8e8b30c8c880465cbbdf2ca013c11e5fcfdfbe /tools/perf/scripts/python/Perf-Trace-Util | |
parent | 2f24636b4b12e4f1eca23e6e5dd86ba335fc8066 (diff) |
drm/i915/gvt: Dereference msi eventfd_ctx when it isn't used anymore
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@intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions