summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlauber Costa <glommer@redhat.com>2009-07-15 02:19:34 -0400
committerMarcelo Tosatti <mtosatti@redhat.com>2009-07-21 17:07:39 -0300
commitda8b8a30eac93e242bd9452d3523b615dfbd36c9 (patch)
treed594efb7cb5e2297f3f5a29513d95edd77862aea /kvm-all.c
parentreuse kvm_ioctl (diff)
downloadqemu-kvm-da8b8a30eac93e242bd9452d3523b615dfbd36c9.tar.gz
qemu-kvm-da8b8a30eac93e242bd9452d3523b615dfbd36c9.tar.bz2
qemu-kvm-da8b8a30eac93e242bd9452d3523b615dfbd36c9.zip
check extension
use upstream check_extension code Signed-off-by: Glauber Costa <glommer@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm-all.c')
-rw-r--r--kvm-all.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kvm-all.c b/kvm-all.c
index 0ec6475a6..b4b5a35f4 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -383,6 +383,7 @@ int kvm_uncoalesce_mmio_region(target_phys_addr_t start, ram_addr_t size)
return ret;
}
+#endif
int kvm_check_extension(KVMState *s, unsigned int extension)
{
int ret;
@@ -394,6 +395,7 @@ int kvm_check_extension(KVMState *s, unsigned int extension)
return ret;
}
+#ifdef KVM_UPSTREAM
int kvm_init(int smp_cpus)
{