Statistics
| Branch: | Revision:

root / hw / pci @ a66e657e

Name Size
Makefile.objs 424 Bytes
msi.c 12.2 kB
msix.c 17 kB
pci-hotplug-old.c 9.9 kB
pci-stub.c 1.4 kB
pci.c 69.7 kB
pci_bridge.c 15.3 kB
pci_host.c 5.6 kB
pcie.c 20.2 kB
pcie_aer.c 31.6 kB
pcie_host.c 4.1 kB
pcie_port.c 4.9 kB
shpc.c 24.6 kB
slotid_cap.c 1.4 kB

Latest revisions

# Date Author Comment
5d268704 02/10/2014 10:27 am Igor Mammedov

pci/shpc: convert SHPC hotplug to use hotplug-handler API

Split shpc_device_hotplug() into hotplug/unplug callbacks
and register them as "hotplug-handler" interface implementation of
PCI_BRIDGE_DEV device.

Replace pci_bus_hotplug() wiring with setting link on PCI BUS...

a66e657e 02/10/2014 10:27 am Igor Mammedov

pci/pcie: convert PCIE hotplug to use hotplug-handler API

Split pcie_cap_slot_hotplug() into hotplug/unplug callbacks
and register them as "hotplug-handler" interface implementation of
PCIE_SLOT device.

Replace pci_bus_hotplug() wiring with setting link on PCI BUS...

2897ae02 02/10/2014 10:26 am Igor Mammedov

qdev:pci: refactor PCIDevice to use generic "hotpluggable" property

Get rid of PCIDevice specific PCIDeviceClass.no_hotplug and use
generic DeviceClass.hotpluggable field instead.

Signed-off-by: Igor Mammedov <>
Reviewed-by: Michael S. Tsirkin <>...

30607764 01/26/2014 01:11 pm Marcel Apfelbaum

hw/pci: fix error flow in pci multifunction init

Scenario:
- There is a non multifunction pci device A on 00:0X.0.
- Hot-plug another multifunction pci device B at 00:0X.1.
- The operation will fail of course.
- Try to hot-plug the B device 2-3 more times, qemu will crash....

eb0acfdd 01/26/2014 01:06 pm Michael S. Tsirkin

pci: add pci_for_each_bus_depth_first

Useful for ACPI hotplug.

Signed-off-by: Michael S. Tsirkin <>

d1819762 01/10/2014 09:04 pm Anthony Liguori

Merge remote-tracking branch 'mst/tags/for_anthony' into staging

acpi,pci,pc,fedora,virtio fixes and enhancements

This includes some Preparatory patches for cpu hotplug for q25 and memory
hotplug by Igor, tests and memory mapping change
by Laszlo and pci reset cleanup by Paolo....

6780a22c 12/24/2013 07:02 pm Stefan Hajnoczi

qdev: Drop misleading qbus_free() function

Same reasoning as commit 02a5c4c97422b40034f31265e0f139f7846172a8
("qdev: Drop misleading qdev_free() function"). The qbus_free()
function removes the child from the namespace and decrements the
reference count. It does not, however, guarantee to free the child...

81e3e75b 12/23/2013 01:12 pm Paolo Bonzini

pci: do not export pci_bus_reset

qbus_reset_all can be used instead. There is no semantic change
because pcibus_reset returns 1 and takes care of the device
tree traversal.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Michael S. Tsirkin <>

9bdbbfc3 12/23/2013 01:12 pm Paolo Bonzini

pci: clean up resetting of IRQs

pci_device_reset will deassert the INTX pins, and this will make the
irq_count array all-zeroes. Check that this is the case, and remove
the existing loop which might even unsync irq_count and irq_state.

Signed-off-by: Paolo Bonzini <>...

dcc20931 12/23/2013 01:12 pm Paolo Bonzini

qdev: switch reset to post-order

Post-order is the only sensible direction for the reset signals.
For example, suppose pre-order is used and the parent has some data
structures that cache children state (for example a list of active
requests). When the reset method is invoked on the parent, these caches...

View revisions

Also available in: Atom