summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2009-07-26 17:23:53 -0700
committerAvi Kivity <avi@redhat.com>2009-08-03 18:08:25 +0300
commit1e801b7a910f9d9e6eef5cdab5fc7f9901f36ff6 (patch)
tree6539af2e5ed53e43161733782f735e9f1bbe0f1e
parentMove TSS pages to allow a larger BIOS image (diff)
downloadqemu-kvm-1e801b7a910f9d9e6eef5cdab5fc7f9901f36ff6.tar.gz
qemu-kvm-1e801b7a910f9d9e6eef5cdab5fc7f9901f36ff6.tar.bz2
qemu-kvm-1e801b7a910f9d9e6eef5cdab5fc7f9901f36ff6.zip
Move EPT identity mapping pages to allow a larger BIOS image
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 <jordan.l.justen@intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--qemu-kvm-x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c
index 0b47b570b..65ba470b7 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");