summaryrefslogtreecommitdiffstats
path: root/tests/virtio-net-test.c
diff options
context:
space:
mode:
authorLaurent Vivier2016-10-17 12:30:22 +0200
committerDavid Gibson2016-10-28 00:36:58 +0200
commit8b4b80c37630e976f2dd02a7d42bd9bea1ce676e (patch)
treeda597dce591e2f8412ecb47e5f861cc5b1396ae1 /tests/virtio-net-test.c
parenttests: move QVirtioBus pointer into QVirtioDevice (diff)
downloadqemu-8b4b80c37630e976f2dd02a7d42bd9bea1ce676e.tar.gz
qemu-8b4b80c37630e976f2dd02a7d42bd9bea1ce676e.tar.xz
qemu-8b4b80c37630e976f2dd02a7d42bd9bea1ce676e.zip
tests: rename target_big_endian() as qvirtio_is_big_endian()
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 <lvivier@redhat.com> Reviewed-by: Greg Kurz <groug@kaod.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/virtio-net-test.c')
0 files changed, 0 insertions, 0 deletions