From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHHKf-00064v-My for qemu-devel@nongnu.org; Tue, 03 May 2011 11:16:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHHKe-00069c-JE for qemu-devel@nongnu.org; Tue, 03 May 2011 11:16:13 -0400 Received: from verein.lst.de ([213.95.11.211]:40270 helo=newverein.lst.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHHKe-00069Y-Bf for qemu-devel@nongnu.org; Tue, 03 May 2011 11:16:12 -0400 Date: Tue, 3 May 2011 17:16:12 +0200 From: Christoph Hellwig Message-ID: <20110503151612.GA13626@lst.de> References: <20110503120616.GA10133@lst.de> <20110503120651.GC10206@lst.de> <4DBFFE5B.6040200@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DBFFE5B.6040200@redhat.com> Subject: Re: [Qemu-devel] [PATCH 3/3] ide: add TRIM support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Christoph Hellwig , qemu-devel@nongnu.org On Tue, May 03, 2011 at 03:08:43PM +0200, Paolo Bonzini wrote: > On 05/03/2011 02:06 PM, Christoph Hellwig wrote: >> + case IDE_DMA_TRIM: >> + m->aiocb = dma_bdrv_io(s->bs,&s->sg, sector_num, >> + ide_issue_trim,, pmac_ide_transfer_cb, s, 1); >> + break; > > Not compile-tested? pmac emulation indeed wasn't in my usual compile setup. Removing the comma makes pmac compile, but I still can't finish a "full" qemu build: hch@rocky:~/work/qemu$ make CC arm-softmmu/gdbstub-xml.o cc1: warnings being treated as errors In file included from ../qemu-common.h:5:0, from gdbstub-xml.c:2: ../config-host.h:2:0: error: "CONFIG_QEMU_PREFIX" redefined config.h:2:0: note: this is the location of the previous definition In file included from gdbstub-xml.c:140:0: config.h:2:0: error: "CONFIG_QEMU_PREFIX" redefined ../config-host.h:2:0: note: this is the location of the previous definition make[1]: *** [gdbstub-xml.o] Error 1 make: *** [subdir-arm-softmmu] Error 2