From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH] kvm: nVMX: Fetch VM_INSTRUCTION_ERROR from vmcs02 on vmx->fail Date: Thu, 29 Sep 2016 20:27:06 +0200 Message-ID: <20160929182706.GB13257@potion> References: <1473179601-19546-1-git-send-email-jmattson@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, pfeiner@google.com To: Jim Mattson Return-path: Received: from mx1.redhat.com ([209.132.183.28]:39192 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934616AbcI2S1X (ORCPT ); Thu, 29 Sep 2016 14:27:23 -0400 Content-Disposition: inline In-Reply-To: <1473179601-19546-1-git-send-email-jmattson@google.com> Sender: kvm-owner@vger.kernel.org List-ID: 2016-09-06 09:33-0700, Jim Mattson: > When forwarding a hardware VM-entry failure to L1, fetch the > VM_INSTRUCTION_ERROR field from vmcs02 before loading vmcs01. > > (Note that there is an implicit assumption that the VM-entry failure was > on the first VM-entry to vmcs02 after nested_vmx_run; otherwise, L1 is > going to be very confused.) > > Signed-off-by: Jim Mattson > Reviewed-by: Peter Feiner > --- Applied to kvm/queue, thanks.