aboutsummaryrefslogtreecommitdiff
path: root/kvm.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-04-01 19:57:11 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-04-09 18:55:55 +0200
commit00a1555e0cff5d710ea63145b18e2915b84b58de (patch)
tree2a8fab803ff4488251ee631afcff05162da7bd65 /kvm.h
parent37b76cfd938dafc89dc609cfb2c84719357867a5 (diff)
move around definitions in kvm.h that do not require CPUState
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'kvm.h')
-rw-r--r--kvm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/kvm.h b/kvm.h
index 1e5be27a38..b90c67a498 100644
--- a/kvm.h
+++ b/kvm.h
@@ -36,6 +36,10 @@ struct kvm_run;
int kvm_init(int smp_cpus);
+int kvm_has_sync_mmu(void);
+int kvm_has_vcpu_events(void);
+int kvm_has_robust_singlestep(void);
+
#ifdef NEED_CPU_H
int kvm_init_vcpu(CPUState *env);
@@ -45,10 +49,6 @@ int kvm_cpu_exec(CPUState *env);
int kvm_log_start(target_phys_addr_t phys_addr, ram_addr_t size);
int kvm_log_stop(target_phys_addr_t phys_addr, ram_addr_t size);
-int kvm_has_sync_mmu(void);
-int kvm_has_vcpu_events(void);
-int kvm_has_robust_singlestep(void);
-
void kvm_setup_guest_memory(void *start, size_t size);
int kvm_coalesce_mmio_region(target_phys_addr_t start, ram_addr_t size);