From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49051) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJR2D-0002Wd-AE for qemu-devel@nongnu.org; Mon, 18 Aug 2014 13:48:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJR23-0008Jl-Th for qemu-devel@nongnu.org; Mon, 18 Aug 2014 13:47:57 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:40255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJR23-0008JV-NO for qemu-devel@nongnu.org; Mon, 18 Aug 2014 13:47:47 -0400 Received: by mail-wi0-f175.google.com with SMTP id ho1so4154339wib.8 for ; Mon, 18 Aug 2014 10:47:46 -0700 (PDT) Date: Mon, 18 Aug 2014 19:47:42 +0200 From: Marc =?UTF-8?B?TWFyw60=?= Message-ID: <20140818194742.643f48e4@crunchbang> In-Reply-To: <1408365973-15498-3-git-send-email-marc.mari.barcelo@gmail.com> References: <1408365973-15498-1-git-send-email-marc.mari.barcelo@gmail.com> <1408365973-15498-3-git-send-email-marc.mari.barcelo@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v5 2/7] tests: Add virtio device initialization List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marc =?UTF-8?B?TWFyw60=?= Cc: Paolo Bonzini , qemu-devel@nongnu.org, Stefan Hajnoczi >El Mon, 18 Aug 2014 14:46:07 +0200 >Marc Mar=C3=AD escribi=C3=B3: > +void qvirtio_pci_device_enable(QVirtioPCIDevice *d) > +{ > + qpci_device_enable(d->pdev); > + d->addr =3D qpci_iomap(d->pdev, 0); > + g_assert(d->addr !=3D NULL); > +} > + qpci_iomap changed its prototype in one of the lastest pull requests. qpci_iomap should have a NULL as third parameter. Will change in next version. Marc