diff options
author | Paul Brook <paul@codesourcery.com> | 2010-03-12 16:54:58 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2010-03-12 18:34:25 +0000 |
commit | b3755a915e40271e8d2b1119e8a1dc1f3e88d2e5 (patch) | |
tree | 9ca60af42732d0df7c5b81a7ca6ced26ea8d4494 /kvm.h | |
parent | 20cb400d41b07f33ed34d5ed917e534c7f12738b (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |