From b3755a915e40271e8d2b1119e8a1dc1f3e88d2e5 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Fri, 12 Mar 2010 16:54:58 +0000 Subject: 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 --- kvm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kvm.h') diff --git a/kvm.h b/kvm.h index b2937b9..fd8d0c1 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); -- cgit v1.1