diff options
author | Igor Mammedov <imammedo@redhat.com> | 2013-04-23 10:29:35 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-05-01 13:04:17 +0200 |
commit | c4cfef5e8a6371aa5e6577f2b980315c2dc46cfb (patch) | |
tree | 7549f29632a7f6ef6f3b2f2e31a8edf7243e92a1 /include/sysemu/kvm.h | |
parent | e9016ee2bda1b7757072b856b2196f691aee3388 (diff) | |
download | hqemu-c4cfef5e8a6371aa5e6577f2b980315c2dc46cfb.zip hqemu-c4cfef5e8a6371aa5e6577f2b980315c2dc46cfb.tar.gz |
cpu: Make kvm-stub.o available outside softmmu
It will provide stubs for *-user targets once softmmu-specific calls
are attempted from common CPU code.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/sysemu/kvm.h')
-rw-r--r-- | include/sysemu/kvm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h index 75bd7d9..2bc1f6b 100644 --- a/include/sysemu/kvm.h +++ b/include/sysemu/kvm.h @@ -144,10 +144,10 @@ int kvm_cpu_exec(CPUArchState *env); #if !defined(CONFIG_USER_ONLY) void *kvm_vmalloc(ram_addr_t size); void *kvm_arch_vmalloc(ram_addr_t size); -void kvm_setup_guest_memory(void *start, size_t size); +#endif +void kvm_setup_guest_memory(void *start, size_t size); void kvm_flush_coalesced_mmio_buffer(void); -#endif int kvm_insert_breakpoint(CPUArchState *current_env, target_ulong addr, target_ulong len, int type); |