On Thu, Oct 23, 2014 at 10:12:42AM +0200, Marc MarĂ­ wrote:
> The allocator in malloc-pc has been extracted, so it can be used in every 
> arch.
> This operation showed that both the alloc and free functions can be also
> generic.
> Because of this, the QGuestAllocator has been removed from is function to wrap
> the alloc and free function, and now just contains the allocator parameters.
> As a result, only the allocator initalizer and unitializer are arch dependent.
> 
> Signed-off-by: Marc MarĂ­ <marc.mari.barc...@gmail.com>
> Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
> ---
>  tests/Makefile           |    2 +-
>  tests/libqos/malloc-pc.c |  280 
> +---------------------------------------------
>  tests/libqos/malloc-pc.h |   11 +-
>  tests/libqos/malloc.c    |  270 ++++++++++++++++++++++++++++++++++++++++++++
>  tests/libqos/malloc.h    |   45 +++++---
>  5 files changed, 309 insertions(+), 299 deletions(-)
>  create mode 100644 tests/libqos/malloc.c

Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan

Attachment: pgpLTP9_c5P8Y.pgp
Description: PGP signature

Reply via email to