diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2019-02-21 11:33:11 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2019-02-22 09:42:17 +0000 |
commit | f6cd8a6366d6bad4a557616a5f70c6d2e374b8c1 (patch) | |
tree | 5ec723bbe25a086b001dc76b768b8cfc78673167 /scripts/qapi | |
parent | 37b06f8d46fe602e630e4bdce24e80a3e0f70cc2 (diff) | |
download | qemu-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/qapi')
0 files changed, 0 insertions, 0 deletions