[PATCH 0/2] A couple of migration blocker query patches

Laine Stump posted 2 patches 1 year, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20220721062113.254515-1-laine@redhat.com
src/qemu/qemu_migration.c | 45 ++++++++++++++++++++++-----------------
1 file changed, 26 insertions(+), 19 deletions(-)
[PATCH 0/2] A couple of migration blocker query patches
Posted by Laine Stump 1 year, 9 months ago
Five minutes after pushing eperezma's patches that query QEMU for
migration blockers, I realized that the query would be called during
"offline migration" (when there is no QEMU process running). So the
1st patch moves the query down so it will only be called during live
migration.

The 2nd patch takes advantage of this new query to skip the hardcoded
check the makes any vfio assigned device a migration blocker. Once
QEMU and the kernel get migration of (some) vfio devices sorted out,
libvirt will allow migration of domains with those devices.

Laine Stump (2):
  qemu: don't try to query QEMU about migration blockers during offline
    migration
  qemu: skip hardcoded hostdev migration check if QEMU can do it for us

 src/qemu/qemu_migration.c | 45 ++++++++++++++++++++++-----------------
 1 file changed, 26 insertions(+), 19 deletions(-)

-- 
2.35.3
Re: [PATCH 0/2] A couple of migration blocker query patches
Posted by Jiri Denemark 1 year, 9 months ago
On Thu, Jul 21, 2022 at 02:21:11 -0400, Laine Stump wrote:
> Five minutes after pushing eperezma's patches that query QEMU for
> migration blockers, I realized that the query would be called during
> "offline migration" (when there is no QEMU process running). So the
> 1st patch moves the query down so it will only be called during live
> migration.
> 
> The 2nd patch takes advantage of this new query to skip the hardcoded
> check the makes any vfio assigned device a migration blocker. Once
> QEMU and the kernel get migration of (some) vfio devices sorted out,
> libvirt will allow migration of domains with those devices.
> 
> Laine Stump (2):
>   qemu: don't try to query QEMU about migration blockers during offline
>     migration
>   qemu: skip hardcoded hostdev migration check if QEMU can do it for us
> 
>  src/qemu/qemu_migration.c | 45 ++++++++++++++++++++++-----------------
>  1 file changed, 26 insertions(+), 19 deletions(-)

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