From: Gerd Hoffmann Subject: Re: [Qemu-devel] [PATCH 3/7] xen: add console backend driver. Date: Mon, 04 Aug 2008 20:15:06 +0200 Message-ID: <4897472A.1070100@redhat.com> References: <1217865045-10722-1-git-send-email-kraxel@redhat.com> <1217865045-10722-4-git-send-email-kraxel@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Blue Swirl Cc: xen-devel@lists.xensource.com, qemu-devel@nongnu.org List-Id: xen-devel@lists.xenproject.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/