From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQ4aa-0001oy-DE for qemu-devel@nongnu.org; Mon, 04 Aug 2008 14:15:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQ4aY-0001mP-OP for qemu-devel@nongnu.org; Mon, 04 Aug 2008 14:15:23 -0400 Received: from [199.232.76.173] (port=44479 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQ4aY-0001lx-Hi for qemu-devel@nongnu.org; Mon, 04 Aug 2008 14:15:22 -0400 Received: from mx1.redhat.com ([66.187.233.31]:39679) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQ4aY-0005i5-9S for qemu-devel@nongnu.org; Mon, 04 Aug 2008 14:15:22 -0400 Message-ID: <4897472A.1070100@redhat.com> Date: Mon, 04 Aug 2008 20:15:06 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 3/7] xen: add console backend driver. References: <1217865045-10722-1-git-send-email-kraxel@redhat.com> <1217865045-10722-4-git-send-email-kraxel@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: xen-devel@lists.xensource.com, qemu-devel@nongnu.org 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? >> + if (!type || 0 != strcmp(type, "ioemu")) { > > Shouldn't this be "qemu"? No, "ioemu" is correct. xend writes that value into xenstore. cheers, Gerd -- http://kraxel.fedorapeople.org/xenner/