[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/7] libqos: Change free function called in mall
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 5/7] libqos: Change free function called in malloc |
Date: |
Fri, 25 Jul 2014 16:23:14 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Jul 24, 2014 at 08:31:03PM +0200, Marc Marí wrote:
> Signed-off-by: Marc Marí <address@hidden>
> ---
> tests/libqos/malloc.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/libqos/malloc.h b/tests/libqos/malloc.h
> index 46f6000..5565381 100644
> --- a/tests/libqos/malloc.h
> +++ b/tests/libqos/malloc.h
> @@ -32,7 +32,7 @@ static inline uint64_t guest_alloc(QGuestAllocator
> *allocator, size_t size)
>
> static inline void guest_free(QGuestAllocator *allocator, uint64_t addr)
> {
> - allocator->alloc(allocator, addr);
> + allocator->free(allocator, addr);
> }
Hahahahahahaha!
Reviewed-by: Stefan Hajnoczi <address@hidden>
pgp2my453Dbvg.pgp
Description: PGP signature
- [Qemu-devel] [PATCH 0/7] Virtio PCI libqos driver, Marc Marí, 2014/07/24
- [Qemu-devel] [PATCH 3/7] libqtest: add QTEST_LOG for debugging qtest testcases, Marc Marí, 2014/07/24
- [Qemu-devel] [PATCH 5/7] libqos: Change free function called in malloc, Marc Marí, 2014/07/24
- [Qemu-devel] [PATCH 1/7] tests: Functions bus_foreach and device_find from libqos virtio API, Marc Marí, 2014/07/24
- [Qemu-devel] [PATCH 4/7] libqos: Correct mask to align size to PAGE_SIZE in malloc-pc, Marc Marí, 2014/07/24
- [Qemu-devel] [PATCH 6/7] virtio-blk: Correct bug in support for flexible descriptor layout, Marc Marí, 2014/07/24
- [Qemu-devel] [PATCH 7/7] libqos: Added basic virtqueue support to virtio implementation, Marc Marí, 2014/07/24