hw/pcie: implement power controller functionality
commitf23b6bdc3c30c77ba0dffaa6de5e398dc3c49c51
authorMarcel Apfelbaum <marcel.a@redhat.com>
Mon, 23 Jun 2014 14:32:48 +0000 (23 17:32 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 23 Jun 2014 14:48:42 +0000 (23 17:48 +0300)
treed60338e3cc88b6d1cee7a8a6778a9757657dfd6a
parente4bcd27c86d20d6f1bc06a34e6612c18534a4968
hw/pcie: implement power controller functionality

It is needed by hot-unplug in order to get an indication
from the OS when the device can be physically detached.

Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci-bridge/ioh3420.c
hw/pci-bridge/xio3130_downstream.c
hw/pci/pcie.c
include/hw/i386/pc.h
include/hw/pci/pci.h
include/hw/pci/pcie.h
include/hw/pci/pcie_regs.h