diff options
author | Igor Mammedov | 2014-06-09 19:28:00 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2014-06-19 15:41:53 +0200 |
commit | 9d3cae68ac4de8cbae7bf750d6ebe6cb87cd9365 (patch) | |
tree | 5ad721dbdd477ff9f97afad3a1e3e291b2a98092 /hw/isa | |
parent | ich: get rid of spaces in type name (diff) | |
download | qemu-9d3cae68ac4de8cbae7bf750d6ebe6cb87cd9365.tar.gz qemu-9d3cae68ac4de8cbae7bf750d6ebe6cb87cd9365.tar.xz qemu-9d3cae68ac4de8cbae7bf750d6ebe6cb87cd9365.zip |
pc: q35: acpi: report error to user on unsupported unplug request
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/isa')
-rw-r--r-- | hw/isa/lpc_ich9.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/isa/lpc_ich9.c b/hw/isa/lpc_ich9.c index fb2b82d13f..3fe23113b0 100644 --- a/hw/isa/lpc_ich9.c +++ b/hw/isa/lpc_ich9.c @@ -610,6 +610,8 @@ static void ich9_device_plug_cb(HotplugHandler *hotplug_dev, static void ich9_device_unplug_cb(HotplugHandler *hotplug_dev, DeviceState *dev, Error **errp) { + error_setg(errp, "acpi: device unplug request for not supported device" + " type: %s", object_get_typename(OBJECT(dev))); } static bool ich9_rst_cnt_needed(void *opaque) |