From patchwork Thu Jul 16 18:02:22 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Justen X-Patchwork-Id: 35933 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n6GI2SvM006999 for ; Thu, 16 Jul 2009 18:02:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932941AbZGPSCZ (ORCPT ); Thu, 16 Jul 2009 14:02:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932916AbZGPSCY (ORCPT ); Thu, 16 Jul 2009 14:02:24 -0400 Received: from mga02.intel.com ([134.134.136.20]:56460 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932920AbZGPSCX (ORCPT ); Thu, 16 Jul 2009 14:02:23 -0400 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 16 Jul 2009 10:51:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.42,412,1243839600"; d="scan'208";a="430835381" Received: from jljusten-desk2.jf.intel.com (HELO localhost.localdomain) ([134.134.19.133]) by orsmga002.jf.intel.com with ESMTP; 16 Jul 2009 11:09:16 -0700 From: Jordan Justen To: kvm-devel Cc: Jordan Justen Subject: [PATCH 3/3] Update VMX_EPT_IDENTITY_PAGETABLE_ADDR to synchronize with kernel code. Date: Thu, 16 Jul 2009 11:02:22 -0700 Message-Id: <1247767342-13519-3-git-send-email-jordan.l.justen@intel.com> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1247767342-13519-2-git-send-email-jordan.l.justen@intel.com> References: <1247767342-13519-1-git-send-email-jordan.l.justen@intel.com> <1247767342-13519-2-git-send-email-jordan.l.justen@intel.com> Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Although VMX_EPT_IDENTITY_PAGETABLE_ADDR does not appear to be used within qemu-kvm, this change mirrors a similar change in the kernel kvm code. The purpose is to move the KVM 'EPT Identity Pages' from: 0xfffbc000-0xfffbcfff to: 0xfeffc000-0xfeffcfff The step is required to free up the 0xff000000-0xffffffff (16MB) range for use with bios.bin. The KVM kernel change depends upon a change to kvm/bios/rombios.c so the bios INT15-E820 function will properly reserve the new location. Signed-off-by: Jordan Justen --- kvm/include/x86/asm/vmx.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kvm/include/x86/asm/vmx.h b/kvm/include/x86/asm/vmx.h index df8d4f9..99e2bb9 100644 --- a/kvm/include/x86/asm/vmx.h +++ b/kvm/include/x86/asm/vmx.h @@ -403,7 +403,7 @@ enum vmcs_field { #define VMX_EPT_EXECUTABLE_MASK 0x4ull #define VMX_EPT_IGMT_BIT (1ull << 6) -#define VMX_EPT_IDENTITY_PAGETABLE_ADDR 0xfffbc000ul +#define VMX_EPT_IDENTITY_PAGETABLE_ADDR 0xfeffc000ul #define ASM_VMX_VMCLEAR_RAX ".byte 0x66, 0x0f, 0xc7, 0x30"