mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemu: Fix crash on incoming migration
In the first stage of incoming migration (qemuMigrationDstPrepareAny) we call qemuMigrationEatCookie when there's no vm object created yet and thus we don't have any private data to pass. Broken by me in commit v5.6.0-109-gbf15b145ec. Signed-off-by: Jiri Denemark <jdenemar@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
1c7b88ee66
commit
69b1ecde25
@ -1507,7 +1507,7 @@ qemuMigrationEatCookie(virQEMUDriverPtr driver,
|
||||
if (cookiein && cookieinlen &&
|
||||
qemuMigrationCookieXMLParseStr(mig,
|
||||
driver,
|
||||
priv->qemuCaps,
|
||||
priv ? priv->qemuCaps : NULL,
|
||||
cookiein,
|
||||
flags) < 0)
|
||||
goto error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user