diff options
| author | Laurent Vivier | 2016-10-17 12:30:22 +0200 |
|---|---|---|
| committer | David Gibson | 2016-10-28 00:36:58 +0200 |
| commit | 8b4b80c37630e976f2dd02a7d42bd9bea1ce676e (patch) | |
| tree | da597dce591e2f8412ecb47e5f861cc5b1396ae1 /tests/virtio-net-test.c | |
| parent | tests: move QVirtioBus pointer into QVirtioDevice (diff) | |
| download | qemu-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
