Re: [PATCH 12/12] qemu: migration: Preserve error across qemuDomainSetMaxMemLock() on error paths

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

 



On 6/13/24 17:11, Peter Krempa wrote:
> When a VM terminates itself while it's being migrated in running state
> libvirt would report wrong error:
> 
>  error: cannot get locked memory limit of process 2502057: No such file or directory
> 
> rather than the proper error:
> 
>  error: operation failed: domain is not running
> 
> Remember the error on error paths in qemuMigrationSrcConfirmPhase and
> qemuMigrationSrcPerformPhase.
> 
> Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
> ---
>  src/qemu/qemu_migration.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)

Trying to NOT open pandora's box: sometimes I wish we had stacked error
messages.

Michal



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

  Powered by Linux