aboutsummaryrefslogtreecommitdiff
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2019-02-21 11:33:11 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2019-02-22 09:42:17 +0000
commitf6cd8a6366d6bad4a557616a5f70c6d2e374b8c1 (patch)
tree5ec723bbe25a086b001dc76b768b8cfc78673167 /scripts/switch-timer-api
parent37b06f8d46fe602e630e4bdce24e80a3e0f70cc2 (diff)
downloadqemu-f6cd8a6366d6bad4a557616a5f70c6d2e374b8c1.zip
qemu-f6cd8a6366d6bad4a557616a5f70c6d2e374b8c1.tar.gz
qemu-f6cd8a6366d6bad4a557616a5f70c6d2e374b8c1.tar.bz2
tests/virtio-blk: change assert on data_size in virtio_blk_request()
The size of data in the virtio_blk_request must be a multiple of 512 bytes for IN and OUT requests, or a multiple of the size of struct virtio_blk_discard_write_zeroes for DISCARD and WRITE_ZEROES requests. Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Message-id: 20190221103314.58500-8-sgarzare@redhat.com Message-Id: <20190221103314.58500-8-sgarzare@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions