]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "KVM: x86: work around leak of uninitialized stack contents"
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 5 Jun 2020 11:59:06 +0000 (13:59 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 Jun 2020 11:59:42 +0000 (07:59 -0400)
commit8a5365c3f0c090d8f9a5c7cbdadd233dd9d4e82e
treea34ad21c8acf7065f9ac26da987c9bcfbd23ac6a
parent2c929d76bfe013890f46b26f81539397634a49e6
Revert "KVM: x86: work around leak of uninitialized stack contents"

handle_vmptrst()/handle_vmread() stopped injecting #PF unconditionally
and switched to nested_vmx_handle_memory_failure() which just kills the
guest with KVM_EXIT_INTERNAL_ERROR in case of MMIO access, zeroing
'exception' in kvm_write_guest_virt_system() is not needed anymore.

This reverts commit c04b9fd59ce79877e94a386417611301abb2f263.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20200605115906.532682-2-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c