diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qemu/osdep.h | 2 | ||||
-rw-r--r-- | include/sysemu/kvm.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h index 3bcd4ab7cd..06c358846e 100644 --- a/include/qemu/osdep.h +++ b/include/qemu/osdep.h @@ -96,7 +96,7 @@ typedef signed int int_fast16_t; int qemu_daemon(int nochdir, int noclose); void *qemu_memalign(size_t alignment, size_t size); -void *qemu_vmalloc(size_t size); +void *qemu_anon_ram_alloc(size_t size); void qemu_vfree(void *ptr); #define QEMU_MADV_INVALID -1 diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h index 9735c1dee6..08284ef770 100644 --- a/include/sysemu/kvm.h +++ b/include/sysemu/kvm.h @@ -142,8 +142,8 @@ int kvm_init_vcpu(CPUState *cpu); 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_ram_alloc(ram_addr_t size); +void *kvm_arch_ram_alloc(ram_addr_t size); #endif void kvm_setup_guest_memory(void *start, size_t size); |