diff options
| author | Luiz Capitulino | 2014-09-11 16:25:48 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2014-09-11 17:14:13 +0200 |
| commit | 624ff5736ef9245bb8070400ccaf65857b6d1c38 (patch) | |
| tree | c7c92007710a861fc6d8f75f7f17261688ddc558 /blockdev.c | |
| parent | dataplane: fix virtio_blk_data_plane_create() op blocker error path (diff) | |
| download | qemu-624ff5736ef9245bb8070400ccaf65857b6d1c38.tar.gz qemu-624ff5736ef9245bb8070400ccaf65857b6d1c38.tar.xz qemu-624ff5736ef9245bb8070400ccaf65857b6d1c38.zip | |
block: extend BLOCK_IO_ERROR with reason string
BLOCK_IO_ERROR events are logged by libvirt, which helps with
post mortem analysis of guests. However, one information that
we miss today is a human readable string describing the cause
of the I/O error.
This commit adds that string it to BLOCK_IO_ERROR. Note that
this string is a debugging aid for humans, meaning that it
should not parsed by applications.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions
