diff options
author | Sean Christopherson <seanjc@google.com> | 2024-10-10 11:23:03 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-25 12:54:42 -0400 |
commit | 037bc38b298c9a8de64f84b253c0b472228bbb10 (patch) | |
tree | a388f011057358b5c160822465dc6552db2ecff6 /.gitattributes | |
parent | e9001a382fa2c256229adc68d55212028b01d515 (diff) | |
download | linux-037bc38b298c9a8de64f84b253c0b472228bbb10.tar.gz linux-037bc38b298c9a8de64f84b253c0b472228bbb10.tar.bz2 linux-037bc38b298c9a8de64f84b253c0b472228bbb10.zip |
KVM: Drop KVM_ERR_PTR_BAD_PAGE and instead return NULL to indicate an error
Remove KVM_ERR_PTR_BAD_PAGE and instead return NULL, as "bad page" is just
a leftover bit of weirdness from days of old when KVM stuffed a "bad" page
into the guest instead of actually handling missing pages. See commit
cea7bb21280e ("KVM: MMU: Make gfn_to_page() always safe").
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
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-2-seanjc@google.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions