From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqO2c-0004zb-Vx for qemu-devel@nongnu.org; Mon, 17 Nov 2014 10:16:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqO2T-0007mk-Uv for qemu-devel@nongnu.org; Mon, 17 Nov 2014 10:16:34 -0500 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:37736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqO2T-0007ma-OE for qemu-devel@nongnu.org; Mon, 17 Nov 2014 10:16:25 -0500 Received: by mail-wg0-f43.google.com with SMTP id l18so3703426wgh.16 for ; Mon, 17 Nov 2014 07:16:24 -0800 (PST) Date: Mon, 17 Nov 2014 15:16:21 +0000 From: Stefan Hajnoczi Message-ID: <20141117151621.GF16192@stefanha-thinkpad.redhat.com> References: <1414861350-13099-1-git-send-email-marc.mari.barcelo@gmail.com> <1414861350-13099-2-git-send-email-marc.mari.barcelo@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hK8Uo4Yp55NZU70L" Content-Disposition: inline In-Reply-To: <1414861350-13099-2-git-send-email-marc.mari.barcelo@gmail.com> Subject: Re: [Qemu-devel] [PATCH v2 1/5] libqos: Change use of pointers to uint64_t in virtio List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marc =?iso-8859-1?Q?Mar=ED?= Cc: qemu-devel@nongnu.org, Stefan Hajnoczi , Andreas =?iso-8859-1?Q?F=E4rber?= --hK8Uo4Yp55NZU70L Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 01, 2014 at 06:02:26PM +0100, Marc Mar=ED wrote: > Convert use of pointers in functions of virtio to uint64_t in order to ma= ke it > platform-independent. >=20 > Add casting from pointers (in PCI functions) to uint64_t and vice versa t= hrough > uintptr_t. >=20 > Signed-off-by: Marc Mar=ED > --- > tests/libqos/virtio-pci.c | 20 +++++++++++--------- > tests/libqos/virtio.c | 8 ++++---- > tests/libqos/virtio.h | 16 ++++++++-------- > tests/virtio-blk-test.c | 21 ++++++++++++++------- > 4 files changed, 37 insertions(+), 28 deletions(-) This makes sense. To fully abolish pointers the PCI code also needs to be converted. Do plan plan to do that? Stefan --hK8Uo4Yp55NZU70L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUahFFAAoJEJykq7OBq3PIxIAH/2UvuE87lMPhl0RyC7wJdk+d SI2hstgoBdDR6CkHGrsOoHNx0uJ5uln+LN694+aIQMmZ19Lq9AoY9IHt1UlIh6sd BIR+CQyNIrzH5qXIi31z1CjwAG85CoU04ntqQyzx4aYP1OSg1t7Vss5d7zs6T2R+ diFJ8BOXbkOWhHmNYT5Su8GSXHvyOBKAN0V/NRLLFezDP1MYHsRv67cZV0jDiLDs C3vKTAO+nhSXLmq30enGhiqlOAn3CVH2qCRsztS1vcEwiizXTsmWUoYeN+uqyf90 MzPd90SEcMFPRDDiSEsT+mCkEIusXodLpChDy5RlZqLKcSSpzWE2Pxd+Jv9U5EI= =onzq -----END PGP SIGNATURE----- --hK8Uo4Yp55NZU70L--