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

2014-11-18 Thread Stefan Hajnoczi
On Mon, Nov 17, 2014 at 04:25:50PM +0100, Andreas Färber wrote: > Am 17.11.2014 um 16:19 schrieb Marc Marí: > > El Mon, 17 Nov 2014 15:16:21 + > > Stefan Hajnoczi escribió: > >> On Sat, Nov 01, 2014 at 06:02:26PM +0100, Marc Marí wrote: > >>> Convert use of pointers in functions of virtio to u

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

2014-11-17 Thread Andreas Färber
Am 17.11.2014 um 16:19 schrieb Marc Marí: > El Mon, 17 Nov 2014 15:16:21 + > Stefan Hajnoczi escribió: >> 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

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

2014-11-17 Thread Marc Marí
El Mon, 17 Nov 2014 15:16:21 + Stefan Hajnoczi escribió: > 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 a

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

2014-11-17 Thread Stefan Hajnoczi
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í > -

[Qemu-devel] [PATCH v2 1/5] libqos: Change use of pointers to uint64_t in virtio

2014-11-01 Thread Marc Marí
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í --- tests/libqos/virtio-pci.c | 20 +++- tests/libqos/virtio