Patchwork [4/5] move around definitions in kvm.h that do not require CPUState

login
register
mail settings
Submitter Paolo Bonzini
Date April 1, 2010, 5:57 p.m.
Message ID <1270144632-25063-5-git-send-email-pbonzini@redhat.com>
Download mbox | patch
Permalink /patch/49231/
State New
Headers show

Comments

Paolo Bonzini - April 1, 2010, 5:57 p.m.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 kvm.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

Patch

diff --git a/kvm.h b/kvm.h
index 4f77188..8bbd127 100644
--- a/kvm.h
+++ b/kvm.h
@@ -31,6 +31,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);
 
@@ -40,10 +44,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);