]> git.proxmox.com Git - mirror_qemu.git/commit
tests/virtio-blk: add test for DISCARD command
authorStefano Garzarella <sgarzare@redhat.com>
Thu, 21 Feb 2019 10:33:14 +0000 (11:33 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 22 Feb 2019 09:42:17 +0000 (09:42 +0000)
commit9a9f4b74fa547b68edb38fa414999836770a4735
treecdaddd74088164f370556c454844505447857a02
parent06879094bb7a50dd5ee503f3f0e208e0cd91dbc3
tests/virtio-blk: add test for DISCARD command

If the DISCARD feature is enabled, we try this command in the
test_basic(), checking only the status returned by the request.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-id: 20190221103314.58500-11-sgarzare@redhat.com
Message-Id: <20190221103314.58500-11-sgarzare@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/virtio-blk-test.c