qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 06/21] Check at runtime if VM is KVM.


From: Gleb Natapov
Subject: [Qemu-devel] [PATCH 06/21] Check at runtime if VM is KVM.
Date: Thu, 8 Oct 2009 17:59:11 +0200

Signed-off-by: Gleb Natapov <address@hidden>
---
 src/post.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/post.c b/src/post.c
index e5764c7..e6f9c39 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);
-- 
1.6.3.3





reply via email to

[Prev in Thread] Current Thread [Next in Thread]