diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2010-04-01 19:57:11 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-04-09 18:55:55 +0200 |
commit | 00a1555e0cff5d710ea63145b18e2915b84b58de (patch) | |
tree | 2a8fab803ff4488251ee631afcff05162da7bd65 /kvm.h | |
parent | 37b76cfd938dafc89dc609cfb2c84719357867a5 (diff) | |
download | qemu-00a1555e0cff5d710ea63145b18e2915b84b58de.tar.gz qemu-00a1555e0cff5d710ea63145b18e2915b84b58de.tar.bz2 qemu-00a1555e0cff5d710ea63145b18e2915b84b58de.zip |
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.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); |