From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvvP2-0004qp-8o for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:59:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvvOw-0004fw-5G for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:59:37 -0400 Received: from [199.232.76.173] (port=57568 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvvOv-0004ej-7Q for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:59:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33693) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MvvOu-0002KK-4m for qemu-devel@nongnu.org; Thu, 08 Oct 2009 11:59:32 -0400 From: Gleb Natapov Date: Thu, 8 Oct 2009 17:59:11 +0200 Message-Id: <1255017566-26220-7-git-send-email-gleb@redhat.com> In-Reply-To: <1255017566-26220-1-git-send-email-gleb@redhat.com> References: <1255017566-26220-1-git-send-email-gleb@redhat.com> Subject: [Qemu-devel] [PATCH 06/21] Check at runtime if VM is KVM. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kevin@koconnor.net Cc: qemu-devel@nongnu.org Signed-off-by: Gleb Natapov --- 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