]> git.proxmox.com Git - mirror_qemu.git/commit
blkdebug: Add ability to override unmap geometries
authorEric Blake <eblake@redhat.com>
Sat, 29 Apr 2017 19:14:18 +0000 (14:14 -0500)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 3 Aug 2017 21:01:19 +0000 (16:01 -0500)
commit48f2dc0657874fcaec71d414534ee8558e65bd32
treeaeb6aee36507afff5b7708637cbc059e25493bd5
parent3ae74003b55d821a1b3ee92d04cfa18528e0334d
blkdebug: Add ability to override unmap geometries

Make it easier to simulate various unusual hardware setups (for
example, recent commits 3482b9b and b8d0a98 affect the Dell
Equallogic iSCSI with its 15M preferred and maximum unmap and
write zero sizing, or b2f95fe deals with the Linux loopback
block device having a max_transfer of 64k), by allowing blkdebug
to wrap any other device with further restrictions on various
alignments.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20170429191419.30051-9-eblake@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
(cherry picked from commit 430b26a82da61876c4eaf559ae02332582968043)
* prereq for 81c219a
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/blkdebug.c
qapi/block-core.json