From nobody Sat May 4 01:53:10 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1616160075; cv=none; d=zohomail.com; s=zohoarc; b=l3DMt9H+nfGKH4YFNU0CCIhJBgI0eaQh12ELEdI+TVctW2bS7tzkuzNgbWi4yCc6LBn0y+3UBqT6UPB+cj7z5W6wl9ngmEKorU0pcKmXmCVd+KbBHLCjogvN58+NMLZgZFGKorc7lSzF/E6y3CuXmUNeu/bg2yAAuEvfj9QodYE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616160075; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=NzjtkE1FzuUSjBCPe0v0+tFClDyz7YJmD7iZimq/nmM=; b=T0RAbUePMf2jcziSelsrcFlJIF6EcQVDHAqYNpvNpLbYa7dkDPRmznmlSuv0sqoYJEhJcoh0qaaZSLVzcKq0XHx3eD/K40VA3cSpknby1LGIcoJHUbBFYfek2DOdTQvmZcLo4zyHEDiq8JMMULFdFQYDiE6Oz7Yp9pwULrJMKcA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1616160075194875.5772638846825; Fri, 19 Mar 2021 06:21:15 -0700 (PDT) Received: from localhost ([::1]:48368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNF3y-0005g5-8U for importer@patchew.org; Fri, 19 Mar 2021 09:21:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNF3A-00053U-Jm for qemu-devel@nongnu.org; Fri, 19 Mar 2021 09:20:24 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:41113) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lNF37-0000N6-Ng for qemu-devel@nongnu.org; Fri, 19 Mar 2021 09:20:24 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-322-Vvvb0I_SMKqFINyz6BL-QQ-1; Fri, 19 Mar 2021 09:20:17 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id BC1C581746A; Fri, 19 Mar 2021 13:20:16 +0000 (UTC) Received: from blackfin.pond.sub.org (ovpn-114-17.ams2.redhat.com [10.36.114.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 242F150C0D; Fri, 19 Mar 2021 13:20:10 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id 9D0B411386A7; Fri, 19 Mar 2021 14:20:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616160019; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NzjtkE1FzuUSjBCPe0v0+tFClDyz7YJmD7iZimq/nmM=; b=L0fIpnQb9OrPonH4115cnAaQhW8j+JWnVPNQ5pTogiiHwwhdyyDfp/+1UeHcnqQ0NmaoKB MIbHBGg2oKZy0BrL3NTL2UYhdkNr0ReHk5qNyPNjIgCqVz7hcFtoriV51jcqwTDuw43CMw ZfHWpU/xNeOrSdoVw6Avvrlp3LTaITM= X-MC-Unique: Vvvb0I_SMKqFINyz6BL-QQ-1 From: Markus Armbruster To: qemu-devel@nongnu.org Subject: [PATCH] fuzz: Avoid deprecated misuse of -drive if=sd Date: Fri, 19 Mar 2021 14:20:08 +0100 Message-Id: <20210319132008.1830950-1-armbru@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=armbru@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=63.128.21.124; envelope-from=armbru@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -29 X-Spam_score: -3.0 X-Spam_bar: --- X-Spam_report: (-3.0 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.251, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lvivier@redhat.com, thuth@redhat.com, alxndr@bu.edu, bsd@redhat.com, stefanha@redhat.com, pbonzini@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" qemu-fuzz-i386-target-generic-fuzz-sdhci-v3 uses -drive=3Dsd where it should use -drive if=3Dnone instead. This prints a deprecation warning: $ ./build-oss-fuzz/DEST_DIR/qemu-fuzz-i386-target-generic-fuzz-sdhci-v3= -runs=3D1 -seed=3D1 [ASan warnings snipped...] --> i386: -drive if=3Dsd,index=3D0,file=3Dnull-co://,format=3Draw,id=3Dmydr= ive: warning: bogus if=3Dsd is deprecated, use if=3Dnone INFO: Seed: 1 [More normal output snipped...] Support for this usage will be gone soon. Adjust the test. Signed-off-by: Markus Armbruster Reviewed-by: Alexander Bulekov Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- tests/qtest/fuzz/generic_fuzz_configs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qtest/fuzz/generic_fuzz_configs.h b/tests/qtest/fuzz/gen= eric_fuzz_configs.h index 8b8c7ac553..004c701915 100644 --- a/tests/qtest/fuzz/generic_fuzz_configs.h +++ b/tests/qtest/fuzz/generic_fuzz_configs.h @@ -182,7 +182,7 @@ const generic_fuzz_config predefined_configs[] =3D { .name =3D "sdhci-v3", .args =3D "-nodefaults -device sdhci-pci,sd-spec-version=3D3 " "-device sd-card,drive=3Dmydrive " - "-drive if=3Dsd,index=3D0,file=3Dnull-co://,format=3Draw,id=3Dmydr= ive -nographic", + "-drive if=3Dnone,index=3D0,file=3Dnull-co://,format=3Draw,id=3Dmy= drive -nographic", .objects =3D "sd*" },{ .name =3D "ehci", --=20 2.26.3