aboutsummaryrefslogtreecommitdiff
path: root/kvm.h
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2010-03-12 16:54:58 +0000
committerPaul Brook <paul@codesourcery.com>2010-03-12 18:34:25 +0000
commitb3755a915e40271e8d2b1119e8a1dc1f3e88d2e5 (patch)
tree9ca60af42732d0df7c5b81a7ca6ced26ea8d4494 /kvm.h
parent20cb400d41b07f33ed34d5ed917e534c7f12738b (diff)
Disable phsyical memory handling in userspace emulation.
Code to handle physical memory access is not meaningful in usrmode emulation, so disable it. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'kvm.h')
-rw-r--r--kvm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kvm.h b/kvm.h
index b2937b9956..fd8d0c16c8 100644
--- a/kvm.h
+++ b/kvm.h
@@ -35,6 +35,7 @@ int kvm_init_vcpu(CPUState *env);
int kvm_cpu_exec(CPUState *env);
+#if !defined(CONFIG_USER_ONLY)
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);
@@ -47,6 +48,7 @@ void kvm_setup_guest_memory(void *start, size_t size);
int kvm_coalesce_mmio_region(target_phys_addr_t start, ram_addr_t size);
int kvm_uncoalesce_mmio_region(target_phys_addr_t start, ram_addr_t size);
void kvm_flush_coalesced_mmio_buffer(void);
+#endif
int kvm_insert_breakpoint(CPUState *current_env, target_ulong addr,
target_ulong len, int type);