|
From: | Thomas Huth |
Subject: | Re: [Qemu-ppc] [PATCH v5 4/6] tests: rename target_big_endian() as qvirtio_is_big_endian() |
Date: | Mon, 17 Oct 2016 13:36:50 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
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 <address@hidden> > Reviewed-by: Greg Kurz <address@hidden> > --- > 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 <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |