[libvirt PATCH] qemu: Restore original memory locking limit on reconnect

Michal Prívozník mprivozn at redhat.com
Thu Jul 28 10:43:25 UTC 2022


On 7/27/22 15:18, Jiri Denemark wrote:
> Commit v8.4.0-287-gd4d3bb8130 tried to make sure the original
> pre-migration memory locking limit is restored at the end of migration,
> but it missed the case when libvirt daemon is restarted during
> migration which needs to be aborted on reconnect.
> 
> And if this was not enough, I forgot to actually save the status XML
> after setting the field in priv (in the commit mentioned above and also
> in v8.4.0-291-gd375993ab3).
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=2107424
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_migration.c | 13 +++++++++----
>  src/qemu/qemu_process.c   |  2 ++
>  2 files changed, 11 insertions(+), 4 deletions(-)


Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

and safe for freeze, since it's a bugfix :-)

Michal



More information about the libvir-list mailing list