From nobody Wed Feb 11 06:00:19 2026 Delivered-To: importer2@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+importer2=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=ilande.co.uk Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 16558960733341021.6128351209657; Wed, 22 Jun 2022 04:07:53 -0700 (PDT) Received: from localhost ([::1]:42412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3yDA-0000zq-Ay for importer2@patchew.org; Wed, 22 Jun 2022 07:07:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3y0Q-0006YD-08; Wed, 22 Jun 2022 06:54:42 -0400 Received: from mail.ilande.co.uk ([2001:41c9:1:41f::167]:37926) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3y0O-0005Wj-Gf; Wed, 22 Jun 2022 06:54:41 -0400 Received: from [2a00:23c4:8ba4:e500:b82f:56f9:46d7:80ab] (helo=kentang.home) by mail.ilande.co.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o3xyq-000CTX-49; Wed, 22 Jun 2022 11:53:07 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ilande.co.uk; s=20220518; h=Subject:Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:To:From:Sender:Reply-To:Cc: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=oyEp14tUYmofAxvrBjLPsWtJ3UbhKgLh+SGK8upG3gI=; b=dRdi6lZ19UtaxPcZBWSmlsK8RY 1qKpyqdRBpLRHYQ7Wn/cAhSRFtxyCTTPSsCvU3WZT1XAyw/vMoL5ZDjxWbFvi6OmgaVezZHENGXmM h4qkZaf5Fznd727vmiCiKSpC7dfBTkqlEkSK6gcR6RSPWiKuZKepYhmJLEa4Lxtcy8ehJbnpLdEdI LauIg3N9wlyJ+etZJ4bo6WXtiNR5i4HiDVebpuEdvmT0deR9kW8CvwF5edb0V8tx/EEwgvTT/S/Bl xF/fY1jl7l/Egy/x6HCI83ftzaRdMiiq8wQzJSXiT2nlBD1Kk8DKQqUXEMZw86v8jiOb/5SaomMgG tiQClNd4nObFviQ0tpOtyyZcodB+y2To1E1riwSlryJK1o4Me/N6jvs/kHhbPQoKh7EJ+eu+/Z1YN /KDynyOG53+Ev5kjnKtRR7hx2WmjRjyNTqCQJuUvKjwmSXJyVRqgIos3uzjoLzMhUI3EzDVmrG6qg qev8QchQlLbWR/imQNOOB77hlwZ69q0euO9nvqeb4j0cMMc7Mv/Sh4xIZAa/Wr+0uKBLtfVBxCYPJ PDS/z5CFD6++qMTnxGZ4lr2vUYUEa6+UrJNIamMe67+YDiuBCSdnO0yuEXc07aKdeEXOhWSNQcb7s gkU0ShbWym0hdbM8isqZNRDf5V2IKcwRBgKI13OLk=; From: Mark Cave-Ayland To: pbonzini@redhat.com, laurent@vivier.eu, fam@euphon.net, qemu-devel@nongnu.org, qemu-block@nongnu.org Date: Wed, 22 Jun 2022 11:53:13 +0100 Message-Id: <20220622105314.802852-14-mark.cave-ayland@ilande.co.uk> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220622105314.802852-1-mark.cave-ayland@ilande.co.uk> References: <20220622105314.802852-1-mark.cave-ayland@ilande.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Connect-IP: 2a00:23c4:8ba4:e500:b82f:56f9:46d7:80ab X-SA-Exim-Mail-From: mark.cave-ayland@ilande.co.uk Subject: [PATCH v3 13/14] q800: add default vendor and product information for scsi-hd devices X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.ilande.co.uk) 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+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2001:41c9:1:41f::167; envelope-from=mark.cave-ayland@ilande.co.uk; helo=mail.ilande.co.uk X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1655896075147100001 Content-Type: text/plain; charset="utf-8" The Apple HD SC Setup program uses a SCSI INQUIRY command to check that any= SCSI hard disks detected match a whitelist of vendors and products before allowi= ng the "Initialise" button to prepare an empty disk. Add known-good default vendor and product information using the existing compat_prop mechanism so the user doesn't have to use long command lines to= set the qdev properties manually. Signed-off-by: Mark Cave-Ayland Reviewed-by: Laurent Vivier --- hw/m68k/q800.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/m68k/q800.c b/hw/m68k/q800.c index 3254ffb5c4..dccf192e55 100644 --- a/hw/m68k/q800.c +++ b/hw/m68k/q800.c @@ -688,6 +688,9 @@ static void q800_init(MachineState *machine) =20 static GlobalProperty hw_compat_q800[] =3D { { "scsi-hd", "quirk_mode_page_vendor_specific_apple", "on"}, + { "scsi-hd", "vendor", " SEAGATE" }, + { "scsi-hd", "product", " ST225N" }, + { "scsi-hd", "ver", "1.0 " }, { "scsi-cd", "quirk_mode_page_apple_vendor", "on"}, { "scsi-cd", "quirk_mode_sense_rom_use_dbd", "on"}, { "scsi-cd", "quirk_mode_page_vendor_specific_apple", "on"}, --=20 2.30.2