aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-10-08 21:50:31 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-10-08 21:50:31 -0400
commitb8bf14aee5ed8186d3013ae3fc8175ba0de24d9d (patch)
treed0ba3faea7ced98aaa151879fc5c5026679a1591
parent4d2b61962adbb41b63e5e0e538dffc2a30d1b832 (diff)
downloadseabios-b8bf14aee5ed8186d3013ae3fc8175ba0de24d9d.tar.gz
Check at runtime if VM is KVM.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
-rw-r--r--src/post.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post.c b/src/post.c
index e5764c7d..e6f9c39d 100644
--- a/src/post.c
+++ b/src/post.c
@@ -129,7 +129,7 @@ ram_probe(void)
, E820_RESERVED);
add_e820(BUILD_BIOS_ADDR, BUILD_BIOS_SIZE, E820_RESERVED);
- if (CONFIG_KVM)
+ if (kvm_para_available())
// 4 pages before the bios, 3 pages for vmx tss pages, the
// other page for EPT real mode pagetable
add_e820(0xfffbc000, 4*4096, E820_RESERVED);