Re: [PATCH 1/2] qemu: Fix crash when resuming failed post-copy migration

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

 



On Tue, May 27, 2025 at 12:28:20 +0200, Jiri Denemark via Devel wrote:
> From: Jiri Denemark <jdenemar@xxxxxxxxxx>
> 
> Since commit 28a06215280 (released in 11.2.0) resuming a failed
> post-copy migration calls qemuProcessIncomingDefNew with fd == NULL
> rather than -1. The function does not expect to be called with NULL file
> descriptor and tries to dereference it causing virtqemud on the
> destination host to crash.
> 
> Fixes: 28a06215280b99708ed8dc2d183f62ba7b34ccf8
> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  src/qemu/qemu_migration.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>



[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