Received: from eggs.gnu.org ([2001:4830:134:3::10]:58112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqO5J-0007Ie-Dd for qemu-devel@nongnu.org; Mon, 17 Nov 2014 10:19:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqO5A-0008I0-DA for qemu-devel@nongnu.org; Mon, 17 Nov 2014 10:19:21 -0500 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:56260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqO5A-0008Hw-7B for qemu-devel@nongnu.org; Mon, 17 Nov 2014 10:19:12 -0500 Received: by mail-wg0-f41.google.com with SMTP id y19so5856693wgg.14 for ; Mon, 17 Nov 2014 07:19:11 -0800 (PST) Date: Mon, 17 Nov 2014 16:19:05 +0100 From: Marc =?UTF-8?B?TWFyw60=?= Message-ID: <20141117161905.2dc3eee0@crunchbang> In-Reply-To: <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> <20141117151621.GF16192@stefanha-thinkpad.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Stefan Hajnoczi Cc: qemu-devel@nongnu.org, Stefan Hajnoczi , Andreas =?UTF-8?B?RsOkcmJlcg==?= El Mon, 17 Nov 2014 15:16:21 +0000 Stefan Hajnoczi escribi=C3=B3: > On Sat, Nov 01, 2014 at 06:02:26PM +0100, Marc Mar=C3=AD wrote: > > Convert use of pointers in functions of virtio to uint64_t in order > > to make it platform-independent. > >=20 > > Add casting from pointers (in PCI functions) to uint64_t and vice > > versa through uintptr_t. > >=20 > > Signed-off-by: Marc Mar=C3=AD > > --- > > 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(-) >=20 > This makes sense. To fully abolish pointers the PCI code also needs > to be converted. Do plan plan to do that? >=20 > Stefan Not planned, but if asked, I may do it. Marc