Statistics
| Branch: | Revision:

root / hw / pci @ ddf5636d

Name Size
Makefile.objs 424 Bytes
msi.c 12.2 kB
msix.c 17 kB
pci-hotplug-old.c 9.8 kB
pci-stub.c 1.4 kB
pci.c 68.9 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
84d18f06 02/17/2014 06:57 pm Markus Armbruster

Use error_is_set() only when necessary

error_is_set(&var) is the same as var != NULL, but it takes
whole-program analysis to figure that out. Unnecessarily hard for
optimizers, static checkers, and human readers. Dumb it down to
obvious.

Gets rid of several dozen Coverity false positives....

0888a29c 02/13/2014 05:02 pm Peter Maydell

Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging

acpi,pc,pci fixes and enhancements

Most changes here are hotplug related:

This merges hotplug infrastructure changes by Igor,
some acpi related fixes, and PC fixes.

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

ab1da857 02/11/2014 02:57 pm Edgar E. Iglesias

exec: Make stl_*_phys input an AddressSpace

Reviewed-by: Peter Maydell <>
Signed-off-by: Edgar E. Iglesias <>

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...

5e954943 02/10/2014 10:27 am Igor Mammedov

hw/pci: switch to a generic hotplug handling for PCIDevice

make qdev_unplug()/device_set_realized() to call hotplug handler's
plug/unplug methods if available and remove not needed anymore
hot(un)plug handling from PCIDevice.

In case if hotplug handler is not available, revert to the legacy...

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....

View revisions

Also available in: Atom