summaryrefslogtreecommitdiffstats
path: root/hw/pci.h
diff options
context:
space:
mode:
authorIsaku Yamahata2010-12-22 07:14:35 +0100
committerMichael S. Tsirkin2010-12-22 08:01:53 +0100
commit0ead87c8debaf12bf4e8cf5130e4e7fb83dbf126 (patch)
tree851fbd24dd47cfa05405ac732ccb31fcc3384fe7 /hw/pci.h
parentpc/piix: fix mismerge of b1aeb92666d2fde413c34578b3b42bbfe5f2a506 (diff)
downloadqemu-0ead87c8debaf12bf4e8cf5130e4e7fb83dbf126.tar.gz
qemu-0ead87c8debaf12bf4e8cf5130e4e7fb83dbf126.tar.xz
qemu-0ead87c8debaf12bf4e8cf5130e4e7fb83dbf126.zip
pcie: add flr support
Support flr: trigger device reset on flr config write. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.h')
-rw-r--r--hw/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pci.h b/hw/pci.h
index 17744dc859..6e80b08e0b 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -237,6 +237,7 @@ void pci_bus_hotplug(PCIBus *bus, pci_hotplug_fn hotplug, DeviceState *dev);
PCIBus *pci_register_bus(DeviceState *parent, const char *name,
pci_set_irq_fn set_irq, pci_map_irq_fn map_irq,
void *irq_opaque, int devfn_min, int nirq);
+void pci_device_reset(PCIDevice *dev);
void pci_bus_reset(PCIBus *bus);
void pci_bus_set_mem_base(PCIBus *bus, target_phys_addr_t base);