pci: hotplug windup
commitee995ffbf7b2b190b17d65bbd8f85218679156ad
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 25 Sep 2009 19:42:44 +0000 (25 21:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:49 +0000 (5 09:32 -0500)
tree6fa62b4d62df3bf12d2032758de6eba10d7612a5
parentcb23117be707ea805dec1ab06b3bae06b9fc38c1
pci: hotplug windup

Create qdev infrastructure for pci hotplug.  PCI bus implementations
must register a handler for hotplug.  Creating a new PCI device will
automagically hot-plug it in case the PCI bus in question supports this.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci.c
hw/pci.h