summaryrefslogtreecommitdiffstats
path: root/hw/tpm/tpm_ppi.c
diff options
context:
space:
mode:
authorDavid Hildenbrand2019-01-14 11:31:06 +0100
committerCornelia Huck2019-01-18 11:52:01 +0100
commit6069bcdeaceebb91f43bc4762e3f63eee48cd390 (patch)
tree7a6ca99ed01c42d6feac4d372533e748ae55a810 /hw/tpm/tpm_ppi.c
parents390x/pci: Use hotplug_dev instead of looking up the host bridge (diff)
downloadqemu-6069bcdeaceebb91f43bc4762e3f63eee48cd390.tar.gz
qemu-6069bcdeaceebb91f43bc4762e3f63eee48cd390.tar.xz
qemu-6069bcdeaceebb91f43bc4762e3f63eee48cd390.zip
s390x/pci: Move some hotplug checks to the pre_plug handler
Let's move most of the checks to the new pre_plug handler. As a PCI bridge is just a PCI device, we can simplify the code. Notes: We cannot yet move the MSIX check or device ID creation + zPCI device creation to the pre_plug handler as both parts are not fixed before actual device realization (and therefore after pre_plug and before plug). Once that part is factored out, we can move these parts to the pre_plug handler, too and therefore remove all possible errors from the plug handler. Reviewed-by: Collin Walling <walling@linux.ibm.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20190114103110.10909-3-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/tpm/tpm_ppi.c')
0 files changed, 0 insertions, 0 deletions