Re: [Qemu-devel] [PATCH v4 3/6] tests: move QVirtioBus pointer into QVirtioDevice

2016-10-14 Thread Greg Kurz
On Fri, 14 Oct 2016 10:58:52 +0200 Laurent Vivier wrote: > This allows to not have to pass bus and device for every virtio functions. > > Signed-off-by: Laurent Vivier > --- Reviewed-by: Greg Kurz > tests/libqos/virtio-mmio.c | 1 +

[Qemu-devel] [PATCH v4 3/6] tests: move QVirtioBus pointer into QVirtioDevice

2016-10-14 Thread Laurent Vivier
This allows to not have to pass bus and device for every virtio functions. Signed-off-by: Laurent Vivier --- tests/libqos/virtio-mmio.c | 1 + tests/libqos/virtio-pci.c | 2 + tests/libqos/virtio.c | 77 +++- tests/libqos/virtio.h | 51