mbox series

[0/2] drm/i915/gvt: Fix for KVM refcounting bug

Message ID 20221111002225.2418386-1-seanjc@google.com (mailing list archive)
Headers show
Series drm/i915/gvt: Fix for KVM refcounting bug | expand

Message

Sean Christopherson Nov. 11, 2022, 12:22 a.m. UTC
Bug fix and cleanup related to KVM refcounting.  Found by inspection while
attempting to clean up KVM's page-tracker APIs.

Compile tested only!

Sean Christopherson (2):
  drm/i915/gvt: Get reference to KVM iff attachment to VM is successful
  drm/i915/gvt: Unconditionally put reference to KVM when detaching vGPU

 drivers/gpu/drm/i915/gvt/kvmgt.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)


base-commit: 1767a722a708f1fa3b9af39eb091d79101f8c086