Commit c7f4111a authored by Jes Sorensen's avatar Jes Sorensen Committed by Anthony Liguori

Add missing trace call to oslib-posix.c:qemu_vmalloc()

Acked-by: default avatarStefan Hajnoczi <>
Signed-off-by: default avatarJes Sorensen <>
Signed-off-by: default avatarAnthony Liguori <>
parent 33fa8234
......@@ -79,7 +79,10 @@ void *qemu_memalign(size_t alignment, size_t size)
/* alloc shared memory pages */
void *qemu_vmalloc(size_t size)
return qemu_memalign(getpagesize(), size);
void *ptr;
ptr = qemu_memalign(getpagesize(), size);
trace_qemu_vmalloc(size, ptr);
return ptr;
void qemu_vfree(void *ptr)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment