tests: Check QVIRTIO_F_ANY_LAYOUT flag in virtio-blk test
commit9b7d2d8b076ff12f0d7b4246aec8f421b4150aae
authorMarc Marí <marc.mari.barcelo@gmail.com>
Tue, 24 Feb 2015 21:59:14 +0000 (24 22:59 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 10 Mar 2015 13:02:23 +0000 (10 14:02 +0100)
tree8cc7e19da69da7131351e5e07cee46323bc58bef
parent1e34cf9681ec549e26f30daaabc1ce58d60446f7
tests: Check QVIRTIO_F_ANY_LAYOUT flag in virtio-blk test

Check the QVIRTIO_F_ANY_LAYOUT flag before performing operations with 2
descriptor layout. This is to follow the specification strictly.

This patch depends on:
[PATCH v5 0/5] libqos: Virtio MMIO driver

Signed-off-by: Marc Marí <marc.mari.barcelo@gmail.com>
Message-id: 1424815154-27243-1-git-send-email-marc.mari.barcelo@gmail.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/virtio-blk-test.c