]> git.proxmox.com Git - mirror_qemu.git/commit
tests: rename target_big_endian() as qvirtio_is_big_endian()
authorLaurent Vivier <lvivier@redhat.com>
Mon, 17 Oct 2016 10:30:22 +0000 (12:30 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 27 Oct 2016 22:36:58 +0000 (09:36 +1100)
commit8b4b80c37630e976f2dd02a7d42bd9bea1ce676e
treeda597dce591e2f8412ecb47e5f861cc5b1396ae1
parent6b9cdf4cf1fd52c1a59a7640a02a718176bfd217
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>
tests/libqos/virtio-pci.c
tests/libqos/virtio.h
tests/libqtest.h
tests/virtio-blk-test.c