From: Igor Mammedov Date: Mon, 9 Jun 2014 17:28:00 +0000 (+0200) Subject: pc: q35: acpi: report error to user on unsupported unplug request X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9d3cae68ac4de8cbae7bf750d6ebe6cb87cd9365;p=qemu.git pc: q35: acpi: report error to user on unsupported unplug request Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- 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)