All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kvm-xfstests: explicitly declare format of vd[b-g]
@ 2016-08-12 18:43 Kirill A. Shutemov
  2016-08-15  5:57 ` Theodore Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: Kirill A. Shutemov @ 2016-08-12 18:43 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-fsdevel, 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 <kirill.shutemov@linux.intel.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kvm-xfstests: explicitly declare format of vd[b-g]
  2016-08-12 18:43 [PATCH] kvm-xfstests: explicitly declare format of vd[b-g] Kirill A. Shutemov
@ 2016-08-15  5:57 ` Theodore Ts'o
  0 siblings, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2016-08-15  5:57 UTC (permalink / raw)
  To: Kirill A. Shutemov; +Cc: linux-fsdevel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-15  5:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-12 18:43 [PATCH] kvm-xfstests: explicitly declare format of vd[b-g] Kirill A. Shutemov
2016-08-15  5:57 ` Theodore Ts'o

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.