acpi:piix4: allow plug/unlug callbacks handle not only PCI devices
commitf1adc360b4ea3ed3bf3a5061681a986b0df85ad7
authorIgor Mammedov <imammedo@redhat.com>
Mon, 2 Jun 2014 13:25:19 +0000 (2 15:25 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 13:41:50 +0000 (19 16:41 +0300)
tree4bfa46452419d878fcc7bcf080763785a0f80e46
parent2e1ac493f13f5fe9a47023c443d339664cc9e9a2
acpi:piix4: allow plug/unlug callbacks handle not only PCI devices

... and report error if plugged in device is not supported.
Later these callbacks will be used by memory hotplug.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/piix4.c