Message ID | 20241125181420.24424-1-philmd@linaro.org |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:688e:0:b0:382:43a8:7b94 with SMTP id h14csp1347297wru; Mon, 25 Nov 2024 10:15:17 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUCOD0AME0E0wdul+VExRl2UKFPrVqVS9Zy5GaKM8r1Jrh99nmoIqRBns8DbAoqqfumnRzIag==@linaro.org X-Google-Smtp-Source: AGHT+IHNr56O/2d+BlXcsOCQduaYfOFjU/o7SSYZu+YMpHmyTOq3JPGSqnEz9XPzrN/Mlo9zMd0Q X-Received: by 2002:a05:6102:5091:b0:4af:db5:8d11 with SMTP id ada2fe7eead31-4af0db58d84mr7219920137.2.1732558517007; Mon, 25 Nov 2024 10:15:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732558516; cv=none; d=google.com; s=arc-20240605; b=Zjy/I/1D/XjncYMMotvWDB4wOrDPG+0+XnZg6sTgwFhJzVipRG1eCYt2nBix5zMmBe RdP6CijnzNxl/Hha8o/r2/saJzUhO7TXjgV2t1HM0Y5kaPUz9LDBbklQ9H4zLwnXXdg6 Ervz/ZVTJdQ1dgcwvsyNitHS9E3FCl5kHTMm0gW5PnrXQkMbFmx7X3kolvmIVann5t37 QpYjMArd2toAtEgZZQxzi8cGiuRdU1ewcQtb9ry7vcIS1dG/fxnYf/16BmbVTYHLNIL8 z7dkho3BzTB5XBUjqN/ScpypStMoNHCMy/uwICYWFGUG8yDPHo8mwghZjj0QzNNQdnc4 jP0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=x4OQHtvWJlI5keyr30zc800rGp/vJUHcuq/CHZvm30Q=; fh=sGOgw1uz5kBik8bjuFZ0BMWxqCRwxqTPEyMzVRiZAMM=; b=RqBIGGU2zY/OKH0fKcGAhyvuHL/68AwzXaaNcLG2VN5ldcn8IPJpVq4ME8Kyg16OpW ANZSEBOZdoxYs8TWXPwUQPvX71QhqKbhjHPkiKjlr6067CST8gZizMt2J07Yo55EJqy2 uCedLqS3wN9I6sagOKCaDJDh97ebqDU3AqZ0LtmyZIrRhRQAJ6c9iWcwLxuTHOnw8Mi/ Qug5S+7OPgzv2Fyya0W002/to4Gx5admvrlrwQF9gMvFN/Fk5Zy5bx3KoAkQwmx9sk0N MpihU3faG0Soy38ypzba8pDUYHniT6u+KVNGNwGtZ2+50BZov3nWnDImJccRqej2GSxM mc+Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qGwk8AV8; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ada2fe7eead31-4af3595a46bsi209267137.740.2024.11.25.10.15.16 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Nov 2024 10:15:16 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qGwk8AV8; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tFdbS-00017t-A3; Mon, 25 Nov 2024 13:14:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tFdbQ-00016x-SC for qemu-devel@nongnu.org; Mon, 25 Nov 2024 13:14:28 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tFdbN-0005Am-Sr for qemu-devel@nongnu.org; Mon, 25 Nov 2024 13:14:28 -0500 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-3822ec43fb0so3699995f8f.3 for <qemu-devel@nongnu.org>; Mon, 25 Nov 2024 10:14:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732558464; x=1733163264; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=x4OQHtvWJlI5keyr30zc800rGp/vJUHcuq/CHZvm30Q=; b=qGwk8AV8BNf403c+GHo4iHuWcpSaJVVeqDZ6jKCnQSeKJqJe2+0X0FbwZNrN5Snjfo ILuXgBiLdzsN0vrq/vKVoYOG0atz72LtDnYgXqlg+qOwCVZ1EVEudYWhYSl+wgXVRsfX mB68MYBiPtacyxsT7/0GD6ZPV3L/dVAPEBr51qnUjUKZC+UKSUwEgIVGLC/LzrQANBz3 pJJWVrCXAInZyN0o9KjuF0XSLSV5tEK5jnLjUBkBfElXjz7lDQbsispjq7ueofXxAw8x 96jGqw6gjB86XMkov6lP8ybZRR+yHfDsife9Z7dmmeeh1eUj/Qte+MtQ/KLi7eXJhd9/ Jm7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732558464; x=1733163264; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=x4OQHtvWJlI5keyr30zc800rGp/vJUHcuq/CHZvm30Q=; b=d71ZGLb7m7IH1ZrX3TdrMRovBR+9hja/fV+74J4C6pNZKiO9vxWO9JM2Xi0Tht9EVw sGkrx9OAPg051svOtEJwffn46nqM0boxq66jBZZVZYWwDaW0t5ywvQogCU4HREcl4gM2 WsPweGtamDcXDpNOMJcE6VGv1xwzOqngLS70N0Ya0hkfP6+PWlnLI8XZQZ5RkcS2ofNQ R+e39WaPsUohmfEFUjPQ0d7ufegLRAsyv1hZ0c9GCoXtuVrX87B3scvlE1WzkGa/mAxi FEIQToxXjsd8w9tvIMsO8NFywOc7fXWP7zXdjhIYbwwKuzv1cB4jk8EhNRHLfKyeYL1O 0KRg== X-Gm-Message-State: AOJu0Yyy7+rcuwZOgiB6cJFBZHhttSWpelcaTTTE19odrw2y34P2LQJC 10qRNmeGyAU9jo55X70DIRb/5o3QYxSV02X9vI+eg/eL6PFnBS8Me300tsQnwIuaJgD8HAKU/ki J X-Gm-Gg: ASbGncuamWOmHCfWg5a56vwXDCAGJRHSf7y6AuGvQeCoeUthP/pUIvNhwm9sxaw9e6v kfnoWoHZK18jITCfJG1lCnwe+lCY9CnoiQcMHT72j7xF85Fg5EpEfBtpPhESoKLwk5zNOBa53vC leyPsx04p7G0hyt/5vxsAFTK2wZRJU8QfIdrVlL5r/P9Mi3KFakucXW0qVboHTbwSEzAhumVdc1 4SALwCvn4Pb9x3EL8d5ixiP6C0eLBeACXCfdc0w64Qh3au09v5rL0SUFRuoAtCPVZAon/UH X-Received: by 2002:a05:6000:1fab:b0:382:4a15:6928 with SMTP id ffacd0b85a97d-38260b5715fmr12267551f8f.14.1732558464046; Mon, 25 Nov 2024 10:14:24 -0800 (PST) Received: from localhost.localdomain ([176.176.170.239]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fad60f0sm11036986f8f.22.2024.11.25.10.14.22 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 25 Nov 2024 10:14:23 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Daniel_P_=2E_Berrang?= =?utf-8?q?=C3=A9?= <berrange@redhat.com>, Thomas Huth <thuth@redhat.com>, qemu-riscv@nongnu.org, qemu-ppc@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>, qemu-s390x@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH-for-10.0 0/3] hw/boards: Try to make sense of MachineClass::no_sdcard flag Date: Mon, 25 Nov 2024 19:14:17 +0100 Message-ID: <20241125181420.24424-1-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=philmd@linaro.org; helo=mail-wr1-x432.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
hw/boards: Try to make sense of MachineClass::no_sdcard flag
|
expand
|
On 25/11/24 19:14, Philippe Mathieu-Daudé wrote: > Invert MachineClass 'no_sdcard' flag logic and rename it > to 'create_default_sdcard_drive' to make sense of this > default value applied to all machines. No logical change > intended. > > Philippe Mathieu-Daudé (3): > hw/boards: Convert no_sdcard flag to OnOffAuto tri-state > hw/boards: Explicit no_sdcard=false as ON_OFF_AUTO_OFF > hw/boards: Rename no_sdcard -> create_default_sdcard_drive I expect next steps to be: - Remove nonsense create_default_sdcard_drive (where machines don't have SDHCI devices) - When drive uses IF_SD, assert machine expose a SDBus - Explicitly create default drives for SDCards in each machine_init? - Remove MachineClass::create_default_sdcard_drive field and code handling default in system/vl.c