From nobody Mon Feb 9 17:23:31 2026 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1636994393426158.49236429703922; Mon, 15 Nov 2021 08:39:53 -0800 (PST) Received: from localhost ([::1]:37200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmf1M-0004IQ-Ga for importer@patchew.org; Mon, 15 Nov 2021 11:39:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmezf-0001ce-Vn for qemu-devel@nongnu.org; Mon, 15 Nov 2021 11:38:09 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:21315) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmezd-0005CQ-PH for qemu-devel@nongnu.org; Mon, 15 Nov 2021 11:38:07 -0500 Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-59-K1bUsC8KM6WSUcEwK0WR-w-1; Mon, 15 Nov 2021 11:38:02 -0500 Received: by mail-ed1-f72.google.com with SMTP id a3-20020a05640213c300b003e7d12bb925so2096985edx.9 for ; Mon, 15 Nov 2021 08:38:02 -0800 (PST) Received: from redhat.com ([2a03:c5c0:207e:9a71:d0b:1947:b534:3230]) by smtp.gmail.com with ESMTPSA id k9sm7701229edo.87.2021.11.15.08.37.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 08:38:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1636994284; 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: in-reply-to:in-reply-to:references:references; bh=/FAcbaSW6GFOcfG2P5xertmYz+uafNHyYCjbb8h1fSg=; b=hRjsoufxhdHvxD3GbMT8S/VdVKlO0bkExq0qMMvzMEdoLYQe3pAXJN8qA8oBMPCFYtvc4i jiy6S7joyzag8SpR9H0mlhx9nDpAyYSNqHLzJhbG4oDne5UhGP8G6B+/Hd4X2LAsEnjvXD sub02ZPv7IhhjtHl0cids3nsNVqf3rI= X-MC-Unique: K1bUsC8KM6WSUcEwK0WR-w-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=/FAcbaSW6GFOcfG2P5xertmYz+uafNHyYCjbb8h1fSg=; b=KDrNZLuHfdhn8FYKYY+NkWKa5WGzfdQuTK9DQ454SBg88pNeMBLg/718cBnI04qSoF qCkDNDgw/FxgyFa32XQA32Cms5y3Ac5mOPAd6xvWfVf3DZtgu3ClouAagYzkzoOvgAyM sX6/aF8IecIFRzlJD2lDBXTPghjklrUeYavtjTyJxGjV2Lbgn2udWJFKrFxy9aijQJ6i E3MgCInNLSzD24s8b6604UklD5q4qdyDDVE5p6VrcpPFEjOdclSpiL2vqVmPt4iJRxY2 vuW5pOTCTfU4Wj7U9vIq2CrMMeOdzuvE2kUgJFxjcP4OnhJ/MYT59J5eGV2FVmrby3uR oKxA== X-Gm-Message-State: AOAM530HBs7BgbdlUm4UKu4LkcLdLm+UzFvxi/ela8mIsigr2S1VgGGX h/1FWMHgT1zmmgmsUfJjgYSEbiBnZuWVFla1H7mohBuWD4ZKTel+5soEG4mUC74xtwDWK872/t8 +yIbbJh6AFmgzLUMRKaj9nBZ2JPL/SGIhbc1RdKXRY0xGQDXbaPGnBH+nVWSC X-Received: by 2002:a05:6402:3586:: with SMTP id y6mr25927edc.332.1636994281204; Mon, 15 Nov 2021 08:38:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9YO6sfLqUBP3kvqvyAv7KGFcRyDUKpr0ZltASU09I+o0bxq9hZiLdEgG0my0PC55ClkCeaw== X-Received: by 2002:a05:6402:3586:: with SMTP id y6mr25891edc.332.1636994281038; Mon, 15 Nov 2021 08:38:01 -0800 (PST) Date: Mon, 15 Nov 2021 11:37:55 -0500 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org Subject: [PULL 06/20] pcie: rename 'native-hotplug' to 'x-native-hotplug' Message-ID: <20211115163607.177432-7-mst@redhat.com> References: <20211115163607.177432-1-mst@redhat.com> MIME-Version: 1.0 In-Reply-To: <20211115163607.177432-1-mst@redhat.com> X-Mailer: git-send-email 2.27.0.106.g8ac3dc51b1 X-Mutt-Fcc: =sent Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mst@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline 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=170.10.129.124; envelope-from=mst@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.7, 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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Eduardo Habkost , Richard Henderson , Igor Mammedov , Ani Sinha , Paolo Bonzini Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1636994394874100001 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Igor Mammedov Mark property as experimental/internal adding 'x-' prefix. Property was introduced in 6.1 and it should have provided ability to turn on native PCIE hotplug on port even when ACPI PCI hotplug is in use is user explicitly sets property on CLI. However that never worked since slot is wired to ACPI hotplug controller. Another non-intended usecase: disable native hotplug on slot when APCI based hotplug is disabled, which works but slot has 'hotplug' property for this taks. It should be relatively safe to rename it to experimental as no users should exist for it and given that the property is broken we don't really want to leave it around for much longer lest users start using it. Signed-off-by: Igor Mammedov Reviewed-by: Ani Sinha Message-Id: <20211112110857.3116853-2-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/i386/pc_q35.c | 2 +- hw/pci/pcie_port.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 797e09500b..fc34b905ee 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -243,7 +243,7 @@ static void pc_q35_init(MachineState *machine) NULL); =20 if (acpi_pcihp) { - object_register_sugar_prop(TYPE_PCIE_SLOT, "native-hotplug", + object_register_sugar_prop(TYPE_PCIE_SLOT, "x-native-hotplug", "false", true); } =20 diff --git a/hw/pci/pcie_port.c b/hw/pci/pcie_port.c index da850e8dde..e95c1e5519 100644 --- a/hw/pci/pcie_port.c +++ b/hw/pci/pcie_port.c @@ -148,7 +148,7 @@ static Property pcie_slot_props[] =3D { DEFINE_PROP_UINT8("chassis", PCIESlot, chassis, 0), DEFINE_PROP_UINT16("slot", PCIESlot, slot, 0), DEFINE_PROP_BOOL("hotplug", PCIESlot, hotplug, true), - DEFINE_PROP_BOOL("native-hotplug", PCIESlot, native_hotplug, true), + DEFINE_PROP_BOOL("x-native-hotplug", PCIESlot, native_hotplug, true), DEFINE_PROP_END_OF_LIST() }; =20 --=20 MST