From patchwork Mon Jul 27 00:23:53 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Justen X-Patchwork-Id: 37435 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 n6R0O1Yx008167 for ; Mon, 27 Jul 2009 00:24:02 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755079AbZG0AYA (ORCPT ); Sun, 26 Jul 2009 20:24:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754307AbZG0AX7 (ORCPT ); Sun, 26 Jul 2009 20:23:59 -0400 Received: from mga01.intel.com ([192.55.52.88]:8262 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754242AbZG0AXy (ORCPT ); Sun, 26 Jul 2009 20:23:54 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 26 Jul 2009 17:22:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.43,273,1246863600"; d="scan'208";a="711248716" Received: from jljusten-desk2.jf.intel.com (HELO localhost.localdomain) ([134.134.19.133]) by fmsmga001.fm.intel.com with ESMTP; 26 Jul 2009 17:27:07 -0700 From: Jordan Justen To: kvm-devel Cc: Jordan Justen Subject: [PATCH 3/3] Move EPT identity mapping pages to allow a larger BIOS image Date: Sun, 26 Jul 2009 17:23:53 -0700 Message-Id: <1248654233-29845-4-git-send-email-jordan.l.justen@intel.com> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1248654233-29845-3-git-send-email-jordan.l.justen@intel.com> References: <1248654233-29845-1-git-send-email-jordan.l.justen@intel.com> <1248654233-29845-2-git-send-email-jordan.l.justen@intel.com> <1248654233-29845-3-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 Move from: 0xfffbc000-0xfffbcfff to: 0xfeffc000-0xfeffcfff This 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 --- qemu-kvm-x86.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c index 0b47b57..65ba470 100644 --- a/qemu-kvm-x86.c +++ b/qemu-kvm-x86.c @@ -102,7 +102,7 @@ static int kvm_init_identity_map_page(kvm_context_t kvm) * this address is 4 pages before the bios, and the bios should present * as unavaible memory */ - r = kvm_set_identity_map_addr(kvm, 0xfffbc000); + r = kvm_set_identity_map_addr(kvm, 0xfeffc000); if (r < 0) { fprintf(stderr, "kvm_init_identity_map_page: " "unable to set identity mapping addr\n");