Statistics
| Branch: | Revision:

root / include / hw @ 5e954943

Name Size
  acpi
  arm
  audio
  block
  char
  cpu
  cris
  i2c
  i386
  input
  intc
  isa
  kvm
  lm32
  m68k
  mips
  misc
  nvram
  pci
  pci-host
  ppc
  s390x
  scsi
  sh4
  sparc
  timer
  unicore32
  virtio
  xen
boards.h 1.3 kB
bt.h 56.5 kB
devices.h 2.1 kB
elf_ops.h 9.4 kB
empty_slot.h 133 Bytes
hotplug.h 2 kB
hw.h 2.5 kB
ide.h 1 kB
irq.h 1.8 kB
loader.h 2.7 kB
pcmcia.h 2.5 kB
ptimer.h 1.5 kB
qdev-core.h 11.3 kB
qdev-dma.h 352 Bytes
qdev-properties.h 10.5 kB
qdev.h 116 Bytes
sd.h 2.9 kB
ssi.h 3.2 kB
stream.h 2 kB
sysbus.h 3.2 kB
usb.h 19.5 kB
xilinx.h 2.9 kB

Latest revisions

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

acpi/piix4pm: convert ACPI PCI hotplug to use hotplug-handler API

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

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

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

a1483f88 02/10/2014 10:23 am Michael S. Tsirkin

loader: document that errno is set

Document that get_image_size sets errno
on failure.

Suggested-by: Peter Maydell <>
Reviewed-by: Eric Blake <>
Signed-off-by: Michael S. Tsirkin <>

9f117d41 02/10/2014 10:23 am Igor Mammedov

define hotplug interface

Provide a generic hotplug interface for hotplug handlers.
Intended for replacing hotplug mechanism used by
PCI/PCIE/SHPC code and will be used for memory hotplug.

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

0ee4de6c 02/10/2014 10:23 am Igor Mammedov

qdev: add to BusState "hotplug-handler" link

It will allow to reuse field with different BUSes,
reducing code duplication. Field is intended for
replacing 'hotplug_qdev' field in PCIBus and also
will allow to avoid adding equivalent field to
DimmBus with possiblitity to refactor other BUSes...

1a37eca1 02/10/2014 10:23 am Igor Mammedov

qdev: add "hotpluggable" property to Device

Currently it's possible to make PCIDevice not hotpluggable
by using no_hotplug field of PCIDeviceClass. However it
limits this only to PCI devices and prevents from
generalizing hotplug code.

So add similar field to DeviceClass so it could be reused...

e358edc8 02/05/2014 04:55 pm Igor Mammedov

hw:piix4:acpi: reuse pcihp code for legacy PCI hotplug

reduces acpi PCI hotplug code duplication by ~200LOC

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

View revisions

Also available in: Atom