summary refs log tree commit diff stats
path: root/include/hw/misc/virt_ctrl.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2022-12-22 11:03:29 +0100
committerMichael S. Tsirkin <mst@redhat.com>2023-01-08 01:54:22 -0500
commit104a2dd65700dbc1e0f69fab200e657e6af2fc75 (patch)
tree0b69451091dfb04355f03692bd8fbe76ae7063ca /include/hw/misc/virt_ctrl.h
parentedf5ca5dbe8031e7814ea34eb109b8f7d4024ae5 (diff)
downloadfocaccia-qemu-104a2dd65700dbc1e0f69fab200e657e6af2fc75.tar.gz
focaccia-qemu-104a2dd65700dbc1e0f69fab200e657e6af2fc75.zip
include/hw/pci: Include hw/pci/pci.h where needed
hw/pci/pcie_sriov.h needs PCI_NUM_REGIONS.  Without the previous
commit, this would close an inclusion loop: hw/pci/pci.h used to
include hw/pci/pcie.h for PCIExpressDevice, which includes
pcie_sriov.h for PCIESriovPF, which now includes hw/pci/pci.h for
PCI_NUM_REGIONS.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221222100330.380143-7-armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/misc/virt_ctrl.h')
0 files changed, 0 insertions, 0 deletions