[PATCH] kvm-xfstests: explicitly declare format of vd[b-g]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <kirill.shutemov@xxxxxxxxxxxxxxx>
---
 kvm-xfstests/kvm-xfstests | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/kvm-xfstests/kvm-xfstests b/kvm-xfstests/kvm-xfstests
index d608317a3ad3..c7ac2b40cfb6 100755
--- a/kvm-xfstests/kvm-xfstests
+++ b/kvm-xfstests/kvm-xfstests
@@ -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 \
-- 
2.8.1

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux