From patchwork Fri Aug 1 09:34:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marc_Mar=C3=AD?= X-Patchwork-Id: 375669 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4C441140110 for ; Fri, 1 Aug 2014 19:36:25 +1000 (EST) Received: from localhost ([::1]:38088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD9GB-0003Ad-6t for incoming@patchwork.ozlabs.org; Fri, 01 Aug 2014 05:36:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD9FK-00020v-SY for qemu-devel@nongnu.org; Fri, 01 Aug 2014 05:35:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XD9FB-0003PH-BM for qemu-devel@nongnu.org; Fri, 01 Aug 2014 05:35:30 -0400 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:59352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD9FB-0003P4-4X for qemu-devel@nongnu.org; Fri, 01 Aug 2014 05:35:21 -0400 Received: by mail-wi0-f170.google.com with SMTP id f8so2566612wiw.1 for ; Fri, 01 Aug 2014 02:35:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=fI62D509IbZrEt4HqwDY5ED4S77ChLqgKdU/DqEKKIo=; b=UMz7QhaBykkvy4Vyj2cwvCDPAvX8pMU1ZaHj58FVvuBedxjle2zJEGKhf00jOFqehf xStwHOW3TdxVFMtl0/WtTQgo1phGINUtaLobmwGkK+KFsqF08/YSRX8c4YfNh2T2e0bA YrGdhUHEGHqE2pVZuLc0dyLfttcUcCbTwCVIlprWSsQycdfoNIyJRS1suDtGoA46h9nb J0loqzearuKRWVVprSFCTwZ3xdIc8JfKQ4OcVobJqyjkppR/Ki4+c5a+EBoW9IZL/EAk gfZZkrr8q9X5CHrZxpaFOEBXRSMe1GI43M+hmlTKjjf+2GxB1jzRy4Ahy6BD5m/8uDLr moTw== X-Received: by 10.194.123.129 with SMTP id ma1mr6222860wjb.80.1406885719909; Fri, 01 Aug 2014 02:35:19 -0700 (PDT) Received: from localhost.localdomain (226.Red-79-153-167.dynamicIP.rima-tde.net. [79.153.167.226]) by mx.google.com with ESMTPSA id fu7sm6931477wib.2.2014.08.01.02.35.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Aug 2014 02:35:19 -0700 (PDT) From: =?UTF-8?q?Marc=20Mar=C3=AD?= To: qemu-devel@nongnu.org Date: Fri, 1 Aug 2014 11:34:55 +0200 Message-Id: <1406885699-4765-6-git-send-email-marc.mari.barcelo@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1406885699-4765-1-git-send-email-marc.mari.barcelo@gmail.com> References: <1406885699-4765-1-git-send-email-marc.mari.barcelo@gmail.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22a Cc: =?UTF-8?q?Marc=20Mar=C3=AD?= , Paolo Bonzini , Stefan Hajnoczi Subject: [Qemu-devel] [PATCH v3 5/9] libqos: Change free function called in malloc X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Reviewed-by: John Snow Reviewed-by: Stefan Hajnoczi Signed-off-by: Marc MarĂ­ --- 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); } #endif