qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

qemu-iotests: add ./check -cloop support

Add the cloop block driver to qemu-iotests.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

+10
+7
tests/qemu-iotests/common
··· 137 137 check options 138 138 -raw test raw (default) 139 139 -cow test cow 140 + -cloop test cloop 140 141 -qcow test qcow 141 142 -qcow2 test qcow2 142 143 -qed test qed ··· 175 176 176 177 -cow) 177 178 IMGFMT=cow 179 + xpand=false 180 + ;; 181 + 182 + -cloop) 183 + IMGFMT=cloop 184 + IMGFMT_GENERIC=false 178 185 xpand=false 179 186 ;; 180 187
+3
tests/qemu-iotests/common.rc
··· 364 364 # 365 365 _supported_fmt() 366 366 { 367 + # "generic" is suitable for most image formats. For some formats it doesn't 368 + # work, however (most notably read-only formats), so they can opt out by 369 + # setting IMGFMT_GENERIC to false. 367 370 for f; do 368 371 if [ "$f" = "$IMGFMT" -o "$f" = "generic" -a "$IMGFMT_GENERIC" = "true" ]; then 369 372 return