Commit 31fccdd
KVM: Make kvm_follow_pfn.refcounted_page a required field
Now that the legacy gfn_to_pfn() APIs are gone, and all callers of
hva_to_pfn() pass in a refcounted_page pointer, make it a required field
to ensure all future usage in KVM plays nice.
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20241010182427.1434605-82-seanjc@google.com>1 parent d0ef8d9 commit 31fccdd
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2834 | 2834 | | |
2835 | 2835 | | |
2836 | 2836 | | |
2837 | | - | |
2838 | | - | |
| 2837 | + | |
2839 | 2838 | | |
2840 | 2839 | | |
2841 | 2840 | | |
| |||
2986 | 2985 | | |
2987 | 2986 | | |
2988 | 2987 | | |
| 2988 | + | |
| 2989 | + | |
| 2990 | + | |
2989 | 2991 | | |
2990 | 2992 | | |
2991 | 2993 | | |
| |||
0 commit comments