diff options
author | Igor Mammedov <imammedo@redhat.com> | 2014-06-16 19:12:29 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-06-19 18:44:22 +0300 |
commit | 02edd407f3f1a1c3aaf5247d131735cf71657d8b (patch) | |
tree | 84f933faab0ea243e6c4e4bf6d5c5837c4f9d722 /monitor.c | |
parent | 02419bcb3f896fc42b50b2b04e2938365b8f7350 (diff) | |
download | hqemu-02edd407f3f1a1c3aaf5247d131735cf71657d8b.zip hqemu-02edd407f3f1a1c3aaf5247d131735cf71657d8b.tar.gz |
qmp: add ACPI_DEVICE_OST event handling
emits event when ACPI OSPM evaluates _OST method
of ACPI device.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -487,6 +487,7 @@ static const char *monitor_event_names[] = { [QEVENT_BLOCK_IMAGE_CORRUPTED] = "BLOCK_IMAGE_CORRUPTED", [QEVENT_QUORUM_FAILURE] = "QUORUM_FAILURE", [QEVENT_QUORUM_REPORT_BAD] = "QUORUM_REPORT_BAD", + [QEVENT_ACPI_OST] = "ACPI_DEVICE_OST", }; QEMU_BUILD_BUG_ON(ARRAY_SIZE(monitor_event_names) != QEVENT_MAX) |