summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2023-07-29 04:35:34 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2023-08-31 21:08:19 +0300
commitf22b1e8500b449fabc33ca271cd8e91749fa63b4 (patch)
tree3be59f09e9872d46419fc03c2d062723cb22a23a /scripts/gdb/linux/interrupts.py
parent96316a06700fc93140e7492c9e994045680f7272 (diff)
downloadlinux-f22b1e8500b449fabc33ca271cd8e91749fa63b4.tar.xz
KVM: x86/mmu: Handle KVM bookkeeping in page-track APIs, not callers
Get/put references to KVM when a page-track notifier is (un)registered instead of relying on the caller to do so. Forcing the caller to do the bookkeeping is unnecessary and adds one more thing for users to get wrong, e.g. see commit 9ed1fdee9ee3 ("drm/i915/gvt: Get reference to KVM iff attachment to VM is successful"). Reviewed-by: Yan Zhao <yan.y.zhao@intel.com> Tested-by: Yongwei Ma <yongwei.ma@intel.com> Link: https://lore.kernel.org/r/20230729013535.1070024-29-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions