From patchwork Mon Jun 9 17:28:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Mammedov X-Patchwork-Id: 357575 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5964E14007C for ; Tue, 10 Jun 2014 03:29:49 +1000 (EST) Received: from localhost ([::1]:34561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu3OF-000440-AJ for incoming@patchwork.ozlabs.org; Mon, 09 Jun 2014 13:29:47 -0400 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 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s59HS7PJ017315 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 9 Jun 2014 13:28:08 -0400 Received: from thinkpad.redhat.com (vpn-232-19.phx2.redhat.com [10.3.232.19]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s59HS2Fb029586; Mon, 9 Jun 2014 13:28:06 -0400 From: Igor Mammedov To: qemu-devel@nongnu.org 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> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: vasilis.liaskovitis@profitbricks.com, andrey@xdel.ru, mst@redhat.com Subject: [Qemu-devel] [PATCH 1/2] pc: q35: acpi: report error to user on unsupported unplug request X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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)