summaryrefslogtreecommitdiff
path: root/scripts/ksymoops
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-10-12 11:56:27 (GMT)
committerPaolo Bonzini <pbonzini@redhat.com>2015-10-13 16:28:58 (GMT)
commitf0d648bdf0a5bbc91da6099d5282f77996558ea4 (patch)
tree8ba9f9080e3c51144df2fe3efdf5eeea1c231b3e /scripts/ksymoops
parent1d8007bdee074fdffcf3539492d8a151a1fb3436 (diff)
downloadlinux-f0d648bdf0a5bbc91da6099d5282f77996558ea4.tar.xz
KVM: x86: map/unmap private slots in __x86_set_memory_region
Otherwise, two copies (one of them never populated and thus bogus) are allocated for the regular and SMM address spaces. This breaks SMM with EPT but without unrestricted guest support, because the SMM copy of the identity page map is all zeros. By moving the allocation to the caller we also remove the last vestiges of kernel-allocated memory regions (not accessible anymore in userspace since commit b74a07beed0e, "KVM: Remove kernel-allocated memory regions", 2010-06-21); that is a nice bonus. Reported-by: Alexandre DERUMIER <aderumier@odiso.com> Cc: stable@vger.kernel.org Fixes: 9da0e4d5ac969909f6b435ce28ea28135a9cbd69 Reviewed-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/ksymoops')
0 files changed, 0 insertions, 0 deletions