summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlauber Costa <glommer@redhat.com>2009-07-14 11:35:11 -0400
committerMarcelo Tosatti <mtosatti@redhat.com>2009-07-14 19:37:29 -0300
commit62a25d7fe75ef37e0223420ad42651d952e14cf3 (patch)
tree216add4515f46b93228c91f9171354e66348d147 /qemu-kvm.h
parentlibkvm: x86: fix memleak if ioctl fails (diff)
downloadqemu-kvm-62a25d7fe75ef37e0223420ad42651d952e14cf3.tar.gz
qemu-kvm-62a25d7fe75ef37e0223420ad42651d952e14cf3.tar.bz2
qemu-kvm-62a25d7fe75ef37e0223420ad42651d952e14cf3.zip
replace USE_KVM with CONFIG_KVM
Make things less confuse, and we have KVM_UPSTREAM to differentiate between the two versions anyway. kvm-all.c and kvm.c gets compiled now, but protected with KVM_UPSTREAM too, so no function in there gets visible in the final binary Signed-off-by: Glauber Costa <glommer@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'qemu-kvm.h')
-rw-r--r--qemu-kvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-kvm.h b/qemu-kvm.h
index 2153afc1a..333109fda 100644
--- a/qemu-kvm.h
+++ b/qemu-kvm.h
@@ -138,7 +138,7 @@ void kvm_arch_do_ioperm(void *_data);
#define ALIGN(x, y) (((x)+(y)-1) & ~((y)-1))
#define BITMAP_SIZE(m) (ALIGN(((m)>>TARGET_PAGE_BITS), HOST_LONG_BITS) / 8)
-#ifdef USE_KVM
+#ifdef CONFIG_KVM
#include "sys-queue.h"
extern int kvm_allowed;