hw/pci: Rename has_power to enabled
commit6a31b219a5338564f3978251c79f96f689e037da
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 27 Jun 2024 06:07:50 +0000 (27 15:07 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 3 Jul 2024 22:14:07 +0000 (3 18:14 -0400)
tree2f3d1e5b5d6354b6353704d16f42f3388fb4f194
parent1b889d6e39c32d709f1114699a014b381bcf1cb1
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>
Message-Id: <20240627-reuse-v10-1-7ca0b8ed3d9f@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci.c
hw/pci/pci_host.c
include/hw/pci/pci.h
include/hw/pci/pci_device.h