From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ladi Prosek Subject: [PATCH v3 0/4] KVM: nVMX: fix CR3 load if L2 uses PAE paging and EPT Date: Wed, 30 Nov 2016 16:03:07 +0100 Message-ID: <1480518191-4572-1-git-send-email-lprosek@redhat.com> Cc: pbonzini@redhat.com, rkrcmar@redhat.com, bsd@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:52104 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932242AbcK3PDT (ORCPT ); Wed, 30 Nov 2016 10:03:19 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id EA81C8FD13 for ; Wed, 30 Nov 2016 15:03:18 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: The series addresses a specific issue with guest CR3 load on nested vmentry as well as a few additional changes related to handling guest and host CR3. v2->v3: * split to 4 patches * fixed the error code used on host PDPTE load failure * added a vmentry host CR3 validity check + new nested_cr3_valid helper v1->v2: * introduced nested_vmx_load_cr3 (more error handling, less MMU work) * also handles nested exit in addition to nested entry * amended commit description Ladi Prosek (4): KVM: nVMX: fix CR3 load if L2 uses PAE paging and EPT KVM: nVMX: propagate errors from prepare_vmcs02 KVM: nVMX: introduce nested_vmx_load_cr3 and call it on vmentry KVM: nVMX: check host CR3 on vmexit