]> git.ipfire.org Git - thirdparty/qemu.git/commit
pcie: rename 'native-hotplug' to 'x-native-hotplug'
authorIgor Mammedov <imammedo@redhat.com>
Fri, 12 Nov 2021 11:08:53 +0000 (06:08 -0500)
committerMichael Roth <michael.roth@amd.com>
Tue, 14 Dec 2021 20:38:08 +0000 (14:38 -0600)
commit7204b8f3c61cb2f0d6f81a4261a2ba7298a007ba
tree6f84d8e523cfcf48dcf523b307b0dc26291c9fba
parent36c651c2264da6984c62173e2e0df77d76f064f5
pcie: rename 'native-hotplug' to 'x-native-hotplug'

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 <imammedo@redhat.com>
Reviewed-by: Ani Sinha <ani@anisinha.ca>
Message-Id: <20211112110857.3116853-2-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 2aa1842d6d79dcd1b84c58eeb44591a99a9e56df)
Signed-off-by: Michael Roth <michael.roth@amd.com>
hw/i386/pc_q35.c
hw/pci/pcie_port.c