diff options
author | Sean Christopherson <[email protected]> | 2023-07-28 18:35:35 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2023-08-31 14:08:19 -0400 |
commit | 09c8726ffa4a8309af7653988694b6cae6abf723 (patch) | |
tree | 83ac59048cbc90eaedbc201f58be4b3f2f6ede7a /lib/memory-notifier-error-inject.c | |
parent | f22b1e8500b449fabc33ca271cd8e91749fa63b4 (diff) |
drm/i915/gvt: Drop final dependencies on KVM internal details
Open code gpa_to_gfn() in kvmgt_page_track_write() and drop KVMGT's
dependency on kvm_host.h, i.e. include only kvm_page_track.h. KVMGT
assumes "gfn == gpa >> PAGE_SHIFT" all over the place, including a few
lines below in the same function with the same gpa, i.e. there's no
reason to use KVM's helper for this one case.
No functional change intended.
Reviewed-by: Yan Zhao <[email protected]>
Tested-by: Yongwei Ma <[email protected]>
Reviewed-by: Zhi Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions