[Qemu-devel] [PATCH 2/5] block: BLOCK_IO_ERROR QMP event

2010-02-03 Thread Luiz Capitulino
This commit introduces the bdrv_mon_event() function, which should be called by block subsystems (eg. IDE) when a I/O error occurs, so that an QMP event is emitted. The following information is currently provided in the event: - device name - operation (ie. "read" or "write") - action taken (eg.

[Qemu-devel] [PATCH 2/5] block: BLOCK_IO_ERROR QMP event

2010-02-02 Thread Luiz Capitulino
This commit introduces the bdrv_mon_event() function, which should be called by block subsystems (eg. IDE) when a I/O error occurs, so that an QMP event is emitted. The following information is currently provided in the event: - device name - operation (ie. "read" or "write") - action taken (eg.