hw/pci: Rename has_power to enabled
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 9 Jan 2025 06:29:46 +0000 (15:29 +0900)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 13 Jan 2025 16:16:04 +0000 (17:16 +0100)
commitc407eef162f765dd83d45e048585731be41a66fc
treeeffc49ce4569aa07919a6473e920e23eda18ae74
parentb7700c9fb1c052e3f2c503c535bccdb6dd70dd97
hw/pci: Rename has_power to enabled

The renamed state will not only represent powering state of PFs, but
also represent SR-IOV VF enablement in the future.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250109-reuse-v19-1-f541e82ca5f7@daynix.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/pci/pci.c
hw/pci/pci_host.c
include/hw/pci/pci.h
include/hw/pci/pci_device.h