kvm-xfstests: explicitly declare format of vd[b-g]
PATCH 1/1 kvm-xfstests: explicitly declare format of vd[b-g]
Newer qemu complains if it cannot detect format of drive file, before assuming it 'raw'.
Let's specify file format explicitly for 'raw' drives.
Signed-off-by Kirill A. Shutemov <[email protected]>
--- kvm-xfstests/kvm-xfstests | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
kvm-xfstests/kvm-xfstests +6 -6
@@ -81,12 +81,12 @@ chmod 400 "$VDH" $NO_ACTION $IONICE $QEMU -boot order=c $NET \ -machine type=pc,accel=kvm:tcg \ -drive file=$ROOT_FS,if=virtio$SNAPSHOT \ - -drive file=$VDB,cache=none,if=virtio \ - -drive file=$VDC,cache=none,if=virtio \ - -drive file=$VDD,cache=none,if=virtio \ - -drive file=$VDE,cache=none,if=virtio \ - -drive file=$VDF,cache=none,if=virtio \ - -drive file=$VDG,cache=none,if=virtio \ + -drive file=$VDB,cache=none,if=virtio,format=raw \ + -drive file=$VDC,cache=none,if=virtio,format=raw \ + -drive file=$VDD,cache=none,if=virtio,format=raw \ + -drive file=$VDE,cache=none,if=virtio,format=raw \ + -drive file=$VDF,cache=none,if=virtio,format=raw \ + -drive file=$VDG,cache=none,if=virtio,format=raw \ -drive file=$VDH,cache=unsafe,readonly,if=virtio \ -nographic -smp $NR_CPU -m $MEM \ $VIRTIO_RNG \
Signature · 1 line
2.8.1
Theodore Ts'o
AppliedQuoted 6 lines · Kirill A. Shutemov
Newer qemu complains if it cannot detect format of drive file, before assuming it 'raw'.
Let's specify file format explicitly for 'raw' drives.
Signed-off-by Kirill A. Shutemov <[email protected]>
Thanks, applied.
- Ted