From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxIYP-0000vh-E0 for qemu-devel@nongnu.org; Wed, 18 Jun 2014 12:17:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxIYH-0006kj-VE for qemu-devel@nongnu.org; Wed, 18 Jun 2014 12:17:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxIYH-0006kY-NI for qemu-devel@nongnu.org; Wed, 18 Jun 2014 12:17:33 -0400 Date: Wed, 18 Jun 2014 19:17:56 +0300 From: "Michael S. Tsirkin" Message-ID: <1403108034-32054-40-git-send-email-mst@redhat.com> References: <1403108034-32054-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1403108034-32054-1-git-send-email-mst@redhat.com> Subject: [Qemu-devel] [PULL v2 039/106] pc: q35: acpi: report error to user on unsupported unplug request List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Anthony Liguori , Igor Mammedov From: Igor Mammedov Signed-off-by: Igor Mammedov Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/isa/lpc_ich9.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/isa/lpc_ich9.c b/hw/isa/lpc_ich9.c index fb2b82d..3fe2311 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) -- MST