Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751458AbdFFN0T (ORCPT ); Tue, 6 Jun 2017 09:26:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42306 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751345AbdFFN0S (ORCPT ); Tue, 6 Jun 2017 09:26:18 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 749B968A3 Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=rkrcmar@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 749B968A3 Date: Tue, 6 Jun 2017 15:26:14 +0200 From: Radim =?utf-8?B?S3LEjW3DocWZ?= To: Paolo Bonzini Cc: Wanpeng Li , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Wanpeng Li Subject: Re: [PATCH v2] KVM: nVMX: Fix exception injection Message-ID: <20170606132613.GA10167@potion> References: <1496665149-10191-1-git-send-email-wanpeng.li@hotmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 06 Jun 2017 13:26:17 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 581 Lines: 15 2017-06-05 14:26+0200, Paolo Bonzini: > On 05/06/2017 14:19, Wanpeng Li wrote: > > From: Wanpeng Li > > This patch fixes it by confirming to inject exception to the guest when the exit > > reason in vmcs02 is exception. > > I think the final part of the commit message needs to be reworded, like: > > Reusing the exit reason from the L2->L0 vmexit is wrong in this case, > the reason must always be EXCEPTION_NMI when injecting an exception into > L1 as a nested vmexit. > > Radim can fix it when applying. Done while applying to kvm/master, thanks.