From: "Blue Swirl" Subject: Re: [PATCH 3/7] xen: add console backend driver. Date: Mon, 4 Aug 2008 23:47:09 +0300 Message-ID: References: <1217865045-10722-1-git-send-email-kraxel@redhat.com> <1217865045-10722-4-git-send-email-kraxel@redhat.com> <4897472A.1070100@redhat.com> Reply-To: qemu-devel@nongnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4897472A.1070100@redhat.com> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: Gerd Hoffmann Cc: xen-devel@lists.xensource.com, qemu-devel@nongnu.org List-Id: xen-devel@lists.xenproject.org On 8/4/08, Gerd Hoffmann wrote: > Blue Swirl wrote: > > On 8/4/08, Gerd Hoffmann wrote: > >> + buffer->data = realloc(buffer->data, buffer->capacity); > > > > On Qemu, instead of malloc, qemu_malloc should be used to allocate > > memory. Though there isn't qemu_realloc. > > > Should I add qemu_realloc then? That would be nice, but changing also all reallocs to qemu_realloc calls for a new patch.