From: Xiao Guangrong Subject: Re: [PATCH] kvm: vmx: Properly handle machine check during VM-entry Date: Mon, 22 May 2017 16:26:45 +0800 Message-ID: <61f6cb5f-9912-c95d-4a45-04691a970ddd@gmail.com> References: <20170518230239.86518-1-jmattson@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: Jim Mattson , kvm@vger.kernel.org Return-path: Received: from mail-pf0-f182.google.com ([209.85.192.182]:34721 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752973AbdEVI0m (ORCPT ); Mon, 22 May 2017 04:26:42 -0400 Received: by mail-pf0-f182.google.com with SMTP id 9so75324389pfj.1 for ; Mon, 22 May 2017 01:26:42 -0700 (PDT) In-Reply-To: <20170518230239.86518-1-jmattson@google.com> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 05/19/2017 07:02 AM, Jim Mattson wrote: > When bit 31 of the exit reason is set to indicate a VM-entry failure, > only the exit reason and exit qualification fields are set. All other > VM-exit information fields, including "VM-exit interruption > information," are unmodified. This log does not reflects what it is doing. The case that exit-reason.bit31 = 1 is skipped by the check at the very beginning of vmx_complete_atomic_exit(). Maybe what you want to say is just "exit_intr_info is not valid if vmx exit is caused by EXIT_REASON_MCE_DURING_VMENTRY"?