Re: [PATCH] qemu: Propagate QEMU errors during incoming migrations

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

 



On 09/08/14 13:05, Jiri Denemark wrote:
> When QEMU fails during incoming migration after we successfully started
> it (i.e., during Perform or Finish phase), we report a rather unhelpful
> message
> 
>     Unable to read from monitor: Connection reset by peer
> 
> We already have a code that takes error messages from QEMU's error
> output but we disable it once QEMU successfully starts. This patch
> postpones this until the end of Finish phase during incoming migration
> so that we can report a much better error message:
> 
>     internal error: early end of file from monitor: possible problem:
>     Unknown savevm section or instance '0000:00:05.0/virtio-balloon' 0
>     load of migration failed
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1090093
> 
> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  src/qemu/qemu_migration.c | 2 ++
>  src/qemu/qemu_monitor.c   | 7 ++++++-
>  src/qemu/qemu_process.c   | 6 ++++--
>  3 files changed, 12 insertions(+), 3 deletions(-)

ACK, although you could state that this is done with migrations now too
in the comment above the code that parses the monitor error message.

Peter


Attachment: signature.asc
Description: OpenPGP digital signature

--
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]