[PATCH v2] qemu: report block job errors from qemu to the user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So that you can see nice report on migration:

"error: operation failed: migration of disk sda failed: No space left on device"

diff from v1:
1. drop 1 patch. Avoiding default label in switches is desired style.
2. drop 2 patch. I do not investigate enough to touch that place.
3. fix 3 patch 
  a) as suggested by Jiri
    * fix leaks
    * s/hint/error/g
    * don't show <NULL> in error message
    * take suggested code simplifications
  b) extra
    * print error string from qemu to log in case we have to drop it

Nikolay Shirokovskiy (1):
  qemu: report block job errors from qemu to the user

 src/qemu/qemu_blockjob.c     | 13 +++++++++--
 src/qemu/qemu_blockjob.h     |  3 ++-
 src/qemu/qemu_domain.c       |  1 +
 src/qemu/qemu_domain.h       |  1 +
 src/qemu/qemu_driver.c       |  4 ++--
 src/qemu/qemu_migration.c    | 54 +++++++++++++++++++++++++++++++-------------
 src/qemu/qemu_monitor.c      |  5 ++--
 src/qemu/qemu_monitor.h      |  4 +++-
 src/qemu/qemu_monitor_json.c |  4 +++-
 src/qemu/qemu_process.c      |  4 ++++
 10 files changed, 68 insertions(+), 25 deletions(-)

-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]