projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
292b163
)
pc: q35: acpi: report error to user on unsupported unplug request
author
Igor Mammedov
<imammedo@redhat.com>
Mon, 9 Jun 2014 17:28:00 +0000
(19:28 +0200)
committer
Michael S. Tsirkin
<mst@redhat.com>
Thu, 19 Jun 2014 13:41:53 +0000
(16:41 +0300)
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>
hw/isa/lpc_ich9.c
patch
|
blob
|
history
diff --git
a/hw/isa/lpc_ich9.c
b/hw/isa/lpc_ich9.c
index fb2b82d13f03bb4476c3c53152bc7a4674c3468f..3fe23113b0be93a971bed7e44ee463c58bbbc20a 100644
(file)
--- 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)