From patchwork Thu Jul 16 18:02:21 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Justen X-Patchwork-Id: 35931 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 n6GI2PZB006988 for ; Thu, 16 Jul 2009 18:02:25 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932937AbZGPSCX (ORCPT ); Thu, 16 Jul 2009 14:02:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932916AbZGPSCX (ORCPT ); Thu, 16 Jul 2009 14:02:23 -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 S932891AbZGPSCW (ORCPT ); Thu, 16 Jul 2009 14:02:22 -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="430835380" 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 2/3] Move qemu-kvm 'VMC TSS Pages' to allow a larger BIOS image. Date: Thu, 16 Jul 2009 11:02:21 -0700 Message-Id: <1247767342-13519-2-git-send-email-jordan.l.justen@intel.com> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1247767342-13519-1-git-send-email-jordan.l.justen@intel.com> References: <1247767342-13519-1-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 qemu-kvm 'VMC TSS Pages' from: 0xfffbd000-0xfffbffff to: 0xfeffd000-0xfeffffff The step is required to free up the 0xff000000-0xffffffff (16MB) range for use with bios.bin. This 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 daf60b6..b5306aa 100644 --- a/qemu-kvm-x86.c +++ b/qemu-kvm-x86.c @@ -63,7 +63,7 @@ static int kvm_init_tss(kvm_context_t kvm) * this address is 3 pages before the bios, and the bios should present * as unavaible memory */ - r = kvm_set_tss_addr(kvm, 0xfffbd000); + r = kvm_set_tss_addr(kvm, 0xfeffd000); if (r < 0) { fprintf(stderr, "kvm_init_tss: unable to set tss addr\n"); return r;