From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu3Mn-0001jO-J2 for qemu-devel@nongnu.org; Mon, 09 Jun 2014 13:28:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wu3Mg-00015C-KJ for qemu-devel@nongnu.org; Mon, 09 Jun 2014 13:28:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu3Mg-000158-CS for qemu-devel@nongnu.org; Mon, 09 Jun 2014 13:28:10 -0400 From: Igor Mammedov Date: Mon, 9 Jun 2014 19:28:00 +0200 Message-Id: <1402334881-19310-2-git-send-email-imammedo@redhat.com> In-Reply-To: <1402334881-19310-1-git-send-email-imammedo@redhat.com> References: <1402334881-19310-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] 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: vasilis.liaskovitis@profitbricks.com, andrey@xdel.ru, mst@redhat.com Signed-off-by: Igor Mammedov --- 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 2adf29a..01ca071 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) -- 1.9.3