diff options
author | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2019-11-12 19:35:06 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-30 20:45:54 +0300 |
commit | 1eff70a9abd46f175defafd29bc17ad456f398a7 (patch) | |
tree | 977d32b00d6c75b404fb7b131d89f9e5de9021cd /arch/x86/include | |
parent | 8c6de56a42e0c657955e12b882a81ef07d1d073e (diff) | |
download | linux-1eff70a9abd46f175defafd29bc17ad456f398a7.tar.xz |
x86/kvm: Introduce kvm_(un)map_gfn()
kvm_vcpu_(un)map operates on gfns from any current address space.
In certain cases we want to make sure we are not mapping SMRAM
and for that we can use kvm_(un)map_gfn() that we are introducing
in this patch.
This is part of CVE-2019-3016.
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions