qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2 1/5] libqos: Change use of pointers to uint64


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v2 1/5] libqos: Change use of pointers to uint64_t in virtio
Date: Mon, 17 Nov 2014 15:16:21 +0000
User-agent: Mutt/1.5.23 (2014-03-12)

On Sat, Nov 01, 2014 at 06:02:26PM +0100, Marc Marí wrote:
> Convert use of pointers in functions of virtio to uint64_t in order to make it
> platform-independent.
> 
> Add casting from pointers (in PCI functions) to uint64_t and vice versa 
> through
> uintptr_t.
> 
> Signed-off-by: Marc Marí <address@hidden>
> ---
>  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

Attachment: pgpBAsZ3Mf3ac.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]