libqos: Change use of pointers to uint64_t in virtio
commit728312b8c81564e437902aeca9f51fdb1e7c52b6
authorMarc Marí <marc.mari.barcelo@gmail.com>
Tue, 24 Feb 2015 21:21:51 +0000 (24 22:21 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 10 Mar 2015 13:02:20 +0000 (10 14:02 +0100)
tree516e9a7d5ea5e9f79bba66b95cf7885b934f0b84
parenta209f4615c6853a226e847810b6c607c71b6a046
libqos: Change use of pointers to uint64_t in virtio

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.barcelo@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1424812915-25728-2-git-send-email-marc.mari.barcelo@gmail.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/libqos/virtio-pci.c
tests/libqos/virtio.c
tests/libqos/virtio.h
tests/virtio-blk-test.c