diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-05-02 16:20:18 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-05-03 16:30:26 +0200 |
commit | 4e335d9e7ddbcf83d03e7fbe65797ebed2272c18 (patch) | |
tree | ef791b6623e77a8d3abef05ff0410709def329d8 /firmware/yamaha | |
parent | ee5f7d79a80550179b258417442b7bdbccaf476a (diff) | |
download | linux-4e335d9e7ddbcf83d03e7fbe65797ebed2272c18.tar.bz2 |
Revert "KVM: Support vCPU-based gfn->hva cache"
This reverts commit bbd6411513aa8ef3ea02abab61318daf87c1af1e.
I've been sitting on this revert for too long and it unfortunately
missed 4.11. It's also the reason why I haven't merged ring-based
dirty tracking for 4.12.
Using kvm_vcpu_memslots in kvm_gfn_to_hva_cache_init and
kvm_vcpu_write_guest_offset_cached means that the MSR value can
now be used to access SMRAM, simply by making it point to an SMRAM
physical address. This is problematic because it lets the guest
OS overwrite memory that it shouldn't be able to touch.
Cc: stable@vger.kernel.org
Fixes: bbd6411513aa8ef3ea02abab61318daf87c1af1e
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'firmware/yamaha')
0 files changed, 0 insertions, 0 deletions