qmp-event: add event notification for memory hot unplug error
commitbc09e06113e79e5d70cf2b37015a26f2102cc03e
authorZhu Guihua <zhugh.fnst@cn.fujitsu.com>
Mon, 27 Apr 2015 08:47:22 +0000 (27 16:47 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 27 Apr 2015 19:09:07 +0000 (27 21:09 +0200)
treea4799b52359aa5e54b5ddcfd3881cec0b4ba40e5
parentc06b2ffb02bfcc642c67300d2c4dffd5aa54932b
qmp-event: add event notification for memory hot unplug error

When memory hot unplug fails, this patch adds support to send
QMP event to notify mgmt about this failure.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
docs/qmp/qmp-events.txt
hw/acpi/memory_hotplug.c
qapi/event.json
trace-events