From patchwork Fri Aug 12 18:43:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kirill A . Shutemov" X-Patchwork-Id: 9277697 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 52D6A60CF5 for ; Fri, 12 Aug 2016 18:43:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 48E5128AB6 for ; Fri, 12 Aug 2016 18:43:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3DA6728AD4; Fri, 12 Aug 2016 18:43:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8468D28AD2 for ; Fri, 12 Aug 2016 18:43:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752854AbcHLSnW (ORCPT ); Fri, 12 Aug 2016 14:43:22 -0400 Received: from mga04.intel.com ([192.55.52.120]:51986 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752826AbcHLSnT (ORCPT ); Fri, 12 Aug 2016 14:43:19 -0400 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP; 12 Aug 2016 11:43:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,512,1464678000"; d="scan'208";a="864488435" Received: from black.fi.intel.com ([10.237.72.93]) by orsmga003.jf.intel.com with ESMTP; 12 Aug 2016 11:43:09 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id 95BB6270; Fri, 12 Aug 2016 21:43:08 +0300 (EEST) From: "Kirill A. Shutemov" To: Theodore Ts'o Cc: linux-fsdevel@vger.kernel.org, "Kirill A. Shutemov" Subject: [PATCH] kvm-xfstests: explicitly declare format of vd[b-g] Date: Fri, 12 Aug 2016 21:43:04 +0300 Message-Id: <1471027384-115496-1-git-send-email-kirill.shutemov@linux.intel.com> X-Mailer: git-send-email 2.8.1 Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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 \