diff options
author | Glauber Costa <glommer@redhat.com> | 2009-07-14 11:35:11 -0400 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2009-07-14 19:37:29 -0300 |
commit | 62a25d7fe75ef37e0223420ad42651d952e14cf3 (patch) | |
tree | 216add4515f46b93228c91f9171354e66348d147 /target-i386 | |
parent | libkvm: x86: fix memleak if ioctl fails (diff) | |
download | qemu-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 'target-i386')
-rw-r--r-- | target-i386/kvm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 1da15431e..b7eb09678 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -24,6 +24,7 @@ #include "cpu.h" #include "gdbstub.h" +#ifdef KVM_UPSTREAM //#define DEBUG_KVM #ifdef DEBUG_KVM @@ -962,3 +963,4 @@ void kvm_arch_update_guest_debug(CPUState *env, struct kvm_guest_debug *dbg) } } #endif /* KVM_CAP_SET_GUEST_DEBUG */ +#endif |