[PATCH v2 0/2] qemu: Fix monitor access during offline migration

Peter Krempa via Devel posted 2 patches 1 week, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1774302819.git.pkrempa@redhat.com
src/qemu/qemu_migration.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
[PATCH v2 0/2] qemu: Fix monitor access during offline migration
Posted by Peter Krempa via Devel 1 week, 3 days ago
New version to fix offline migration. This time for real. Previously I
thought I've got the right place, but my migration setup wasn't ready so
I didn't bother actually testing it. It turns out that the place I've
fixed before didn't actually trigger the bug due to a lucky scenario.

Changes to v1:
 - qemuMigrationSrcBeginXML: Don't call 'qemuMigrationSrcBeginPhaseBlockDirtyBitmaps' with offline VM

    New patch which actually fixes the bug.

 - qemuMigrationSrcBeginPhase: Don't call 'qemuBlockNodesEnsureActive' with offline VM

    Updated commit message now states why 'qemuBlockNodesEnsureActive'
    doesn't actually cause the same failure due to absence of qemuCaps
    on an offline VM.

Peter Krempa (2):
  qemuMigrationSrcBeginXML: Don't call
    'qemuMigrationSrcBeginPhaseBlockDirtyBitmaps' with offline VM
  qemuMigrationSrcBeginPhase: Don't call 'qemuBlockNodesEnsureActive'
    with offline VM

 src/qemu/qemu_migration.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.53.0
Re: [PATCH v2 0/2] qemu: Fix monitor access during offline migration
Posted by Jiri Denemark via Devel 1 week, 3 days ago
On Mon, Mar 23, 2026 at 22:57:15 +0100, Peter Krempa wrote:
> New version to fix offline migration. This time for real. Previously I
> thought I've got the right place, but my migration setup wasn't ready so
> I didn't bother actually testing it. It turns out that the place I've
> fixed before didn't actually trigger the bug due to a lucky scenario.
> 
> Changes to v1:
>  - qemuMigrationSrcBeginXML: Don't call 'qemuMigrationSrcBeginPhaseBlockDirtyBitmaps' with offline VM
> 
>     New patch which actually fixes the bug.
> 
>  - qemuMigrationSrcBeginPhase: Don't call 'qemuBlockNodesEnsureActive' with offline VM
> 
>     Updated commit message now states why 'qemuBlockNodesEnsureActive'
>     doesn't actually cause the same failure due to absence of qemuCaps
>     on an offline VM.
> 
> Peter Krempa (2):
>   qemuMigrationSrcBeginXML: Don't call
>     'qemuMigrationSrcBeginPhaseBlockDirtyBitmaps' with offline VM
>   qemuMigrationSrcBeginPhase: Don't call 'qemuBlockNodesEnsureActive'
>     with offline VM
> 
>  src/qemu/qemu_migration.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

Reviewed-by: Jiri Denemark <jdenemar@redhat.com>