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í <marc.mari.barc...@gmail.com>
> ---
>  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: pgp2hyApzBs_0.pgp
Description: PGP signature

Reply via email to