diff options
| author | Stefano Garzarella | 2019-02-21 11:33:11 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2019-02-22 10:42:17 +0100 |
| commit | f6cd8a6366d6bad4a557616a5f70c6d2e374b8c1 (patch) | |
| tree | 5ec723bbe25a086b001dc76b768b8cfc78673167 /scripts/make-release | |
| parent | virtio-blk: add DISCARD and WRITE_ZEROES features (diff) | |
| download | qemu-f6cd8a6366d6bad4a557616a5f70c6d2e374b8c1.tar.gz qemu-f6cd8a6366d6bad4a557616a5f70c6d2e374b8c1.tar.xz qemu-f6cd8a6366d6bad4a557616a5f70c6d2e374b8c1.zip | |
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/make-release')
0 files changed, 0 insertions, 0 deletions
