Bug 2111070
Summary: | --postcopy-bandwidth is not hornored when recovering postcopy migration | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Jiri Denemark <jdenemar> |
Component: | libvirt | Assignee: | Jiri Denemark <jdenemar> |
libvirt sub component: | Live Migration | QA Contact: | Fangge Jin <fjin> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | unspecified | ||
Priority: | unspecified | CC: | jdenemar, lmen, virt-maint, xuzhang |
Version: | 9.1 | Keywords: | AutomationTriaged, Triaged, Upstream |
Target Milestone: | rc | ||
Target Release: | 9.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-8.5.0-4.el9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-11-15 10:04:47 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | 8.6.0 |
Embargoed: |
Description
Jiri Denemark
2022-07-26 12:26:40 UTC
Fixed upstream by commit 0eae541257cd4f01c9d90db62056ad8d03c5af23 Refs: v8.5.0-3-g0eae541257 Author: Jiri Denemark <jdenemar> AuthorDate: Wed Jun 29 12:00:03 2022 +0200 Commit: Jiri Denemark <jdenemar> CommitDate: Fri Jul 1 11:28:34 2022 +0200 qemu: Pass migration flags to qemuMigrationParamsApply The flags will later be used to determine which parameters should actually be applied. Signed-off-by: Jiri Denemark <jdenemar> Reviewed-by: Michal Privoznik <mprivozn> commit 184749691f27f30a39f6f6c77828ffb951af0255 Refs: v8.5.0-4-g184749691f Author: Jiri Denemark <jdenemar> AuthorDate: Wed Jun 29 15:12:20 2022 +0200 Commit: Jiri Denemark <jdenemar> CommitDate: Fri Jul 1 11:28:34 2022 +0200 qemu_migration_params: Replace qemuMigrationParamTypes array We will need to annotate individual parameters a bit more than just noting their type. Let's introduce qemuMigrationParamInfo replacing simple qemuMigrationParamTypes with an array of structs. Signed-off-by: Jiri Denemark <jdenemar> Reviewed-by: Michal Privoznik <mprivozn> commit 8c335b5530194dbcef719a4d88c89b8723b831a5 Refs: v8.5.0-5-g8c335b5530 Author: Jiri Denemark <jdenemar> AuthorDate: Thu Jun 30 12:51:55 2022 +0200 Commit: Jiri Denemark <jdenemar> CommitDate: Fri Jul 1 11:28:34 2022 +0200 qemu_migration: Pass migParams to qemuMigrationSrcResume So the we can apply selected migration parameters even when resuming post-copy migration. Signed-off-by: Jiri Denemark <jdenemar> Reviewed-by: Michal Privoznik <mprivozn> commit 766abdc291ba606379a7d197bff477fef25fb508 Refs: v8.5.0-6-g766abdc291 Author: Jiri Denemark <jdenemar> AuthorDate: Thu Jun 30 12:52:38 2022 +0200 Commit: Jiri Denemark <jdenemar> CommitDate: Fri Jul 1 11:28:34 2022 +0200 qemu_migration: Apply max-postcopy-bandwidth on post-copy resume When resuming post-copy migration users may want to limit the bandwidth used by the migration and use a value that is different from the one specified when the migration was originally started. Resolves: https://gitlab.com/libvirt/libvirt/-/issues/333 Signed-off-by: Jiri Denemark <jdenemar> Reviewed-by: Michal Privoznik <mprivozn> Versions: libvirt-8.5.0-4.el9.x86_64 qemu-kvm-7.0.0-9.el9.x86_64 Tested both p2p and p2p, passed. Verified with: libvirt-8.5.0-5.el9.x86_64 qemu-kvm-7.0.0-10.el9.x86_64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Low: libvirt security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:8003 |