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

Acked-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Jes Sorensen 2011-07-25 17:13:36 +02:00 committed by Anthony Liguori
parent 33fa8234c3
commit c7f4111a06

View File

@ -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)