v2:
- ACK'd patches were pushed
- the QEMU 'qom-path' regression is no longer mentioned
- it's worker around by prefering lookup via node-name
- the patch is justified without the need to mention it
- 'qom-path' is now properly used for lookup of the disk
- I/O error messages are now stored in virStorageSource
- the messages can be viewed via virDomainGetMessages()
- various refactors to make the addition clean added
- news added
Peter Krempa (15):
qemu: Handle quirks of 'device' field of BLOCK_IO_ERROR event in
monitor code
qemu: Rename 'diskAlias' to 'device' in qemu IO error event handling
qemuProcessHandleIOError: Rename local variables
qemuMonitorJSONHandleIOError: Do not munge 'reason' field of IO error
event
qemuProcessHandleIOError: Prefer lookup by node name
qemuMonitorJSONHandleIOError: Propagate new 'qom-path' field
virStorageSource: Add fields for storing last I/O error message
qemuProcessHandleIOError: Populate I/O error reason to
virStorageSource
qemuProcessHandleIOError: Log IO errors in the VM log file
libxlDomainGetMessages: Add existing flags to 'virCheckFlags'
virDomainObjGetMessages: Refactor using GPtrArray
virDomainGetMessages: Introduce VIR_DOMAIN_MESSAGE_IOERRORS
include: libvirt-domain: Reword documentation for @reason of
VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON
include: libvirt-domain: Add 'hypervisor-message' @reason of
VIR_DOMAIN_EVENT_ID_IO_ERROR_REASON
NEWS: Mention preserving I/O error messages for qemu VMs
NEWS.rst | 6 +++
include/libvirt/libvirt-domain.h | 19 ++++++--
src/conf/domain_conf.c | 80 +++++++++++++++++++++-----------
src/conf/domain_conf.h | 9 +++-
src/conf/storage_source_conf.c | 5 ++
src/conf/storage_source_conf.h | 6 +++
src/libvirt_private.syms | 1 +
src/libxl/libxl_driver.c | 13 +++++-
src/qemu/qemu_driver.c | 24 +++++++++-
src/qemu/qemu_monitor.c | 6 ++-
src/qemu/qemu_monitor.h | 8 +++-
src/qemu/qemu_monitor_json.c | 23 ++++++---
src/qemu/qemu_process.c | 61 +++++++++++++++---------
src/test/test_driver.c | 12 ++++-
14 files changed, 202 insertions(+), 71 deletions(-)
--
2.48.1