On 17.10.2016 12:30, Laurent Vivier wrote: > Move the definition to libqos/virtio.h as it must be used > only with virtio functions. > > Add a QVirtioDevice parameter as it will be needed to > know if the virtio device is using virtio 1.0 specification > and thus is always little-endian (to do) > > Signed-off-by: Laurent Vivier <[email protected]> > Reviewed-by: Greg Kurz <[email protected]> > --- > tests/libqos/virtio-pci.c | 2 +- > tests/libqos/virtio.h | 6 ++++++ > tests/libqtest.h | 10 ---------- > tests/virtio-blk-test.c | 36 ++++++++++++++++++------------------ > 4 files changed, 25 insertions(+), 29 deletions(-) >
Reviewed-by: Thomas Huth <[email protected]>
