diff mbox

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

Message ID 1471027384-115496-1-git-send-email-kirill.shutemov@linux.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Kirill A . Shutemov Aug. 12, 2016, 6:43 p.m. UTC
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@linux.intel.com>
---
 kvm-xfstests/kvm-xfstests | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Comments

Theodore Ts'o Aug. 15, 2016, 5:57 a.m. UTC | #1
On Fri, Aug 12, 2016 at 09:43:04PM +0300, Kirill A. Shutemov wrote:
> 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@linux.intel.com>

Thanks, applied.

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

Patch

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 \