summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-02-03 12:41:00 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-10 11:57:02 -0600
commitaa1db6edaf5ba99b6a0fa6e6a45e7568ba5fa4c9 (patch)
tree5513d365b3e3532e90626f071a15298908a50968 /monitor.c
parentf4f0d391b26afcce86df85566788be7170127116 (diff)
downloadqemu-aa1db6edaf5ba99b6a0fa6e6a45e7568ba5fa4c9.tar.gz
QMP: BLOCK_IO_ERROR event handling
This commit adds the basic definitions for the BLOCK_IO_ERROR event, but actual event emission will be introduced by the next commits. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index ff22123693..19876adbc2 100644
--- a/monitor.c
+++ b/monitor.c
@@ -388,6 +388,9 @@ void monitor_protocol_event(MonitorEvent event, QObject *data)
case QEVENT_VNC_DISCONNECTED:
event_name = "VNC_DISCONNECTED";
break;
+ case QEVENT_BLOCK_IO_ERROR:
+ event_name = "BLOCK_IO_ERROR";
+ break;
default:
abort();
break;