Re: [PATCH v2 2/2] Revert "KVM: x86: work around leak of uninitialized stack contents"

2020-06-05 Thread Paolo Bonzini
On 05/06/20 13:59, Vitaly Kuznetsov wrote: > 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

[PATCH v2 2/2] Revert "KVM: x86: work around leak of uninitialized stack contents"

2020-06-05 Thread Vitaly Kuznetsov
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