From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmMHS-0008OR-Gw for qemu-devel@nongnu.org; Sun, 15 Jan 2012 04:21:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmMHR-0002xm-Ie for qemu-devel@nongnu.org; Sun, 15 Jan 2012 04:21:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:31559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmMHR-0002xi-8d for qemu-devel@nongnu.org; Sun, 15 Jan 2012 04:21:37 -0500 Message-ID: <4F129A9C.9030903@redhat.com> Date: Sun, 15 Jan 2012 11:21:32 +0200 From: Avi Kivity MIME-Version: 1.0 References: <1326453552-17189-1-git-send-email-hare@suse.de> <4F1061CE.50005@suse.de> In-Reply-To: <4F1061CE.50005@suse.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH][v9] megasas: LSI Megaraid SAS HBA emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-15?Q?Andreas_F=E4rber?= Cc: Alexander Graf , Hannes Reinecke , Stefan Hajnoczi , qemu-devel@nongnu.org On 01/13/2012 06:54 PM, Andreas F=E4rber wrote: > > +static void megasas_unmap_sgl(struct megasas_cmd_t *cmd) > > +{ > > + int i, is_write =3D megasas_frame_is_write(cmd); > > + > > + for (i =3D 0; i < cmd->iov_cnt; i++) { > > + cpu_physical_memory_unmap(cmd->iov[i].iov_base, cmd->iov[i].= iov_len, > > + is_write, cmd->iov[i].iov_len); > > Not sure, but cpu_physical_memory_* sounds old-fashioned. Might need an > update to MemoryRegion? These APIs have not been updated (yet?). --=20 error compiling committee.c: too many arguments to function