Bug 1806856

Summary: Migrate-getspeed can't get the correct speed set by "virsh migrate --bandwidth"
Product: Red Hat Enterprise Linux 9 Reporter: Fangge Jin <fjin>
Component: libvirtAssignee: khanicov
libvirt sub component: General QA Contact: Fangge Jin <fjin>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: low CC: chhu, jdenemar, jsuchane, khanicov, lizhu, lmen, mprivozn, virt-maint, xuzhang, yafu
Version: 9.0Keywords: Reopened, Triaged, Upstream
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-7.9.0-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-17 12:45:05 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: 7.9.0
Embargoed:

Description Fangge Jin 2020-02-25 07:58:30 UTC
Description of problem:
Set migrate speed by "virsh migrate --bandwidth", then query by virsh migrate-getspeed, it can't get the correct value.

Version-Release number of selected component (if applicable):
libvirt-client-6.0.0-6.virtcov.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Start a vm

2.Migrate vm with --bandwidth:
# virsh migrate rhev qemu+ssh://{target_host}/system --live --verbose     --bandwidth 10

3.Get max migration speed:
# virsh migrate-getspeed rhev
8796093022207


Actual results:
As step3

Expected results:
Step3:
# virsh migrate-getspeed rhev
10

Additional info:

Comment 3 RHEL Program Management 2021-08-25 07:27:06 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 4 John Ferlan 2021-09-08 13:31:09 UTC
Bulk update: Move RHEL-AV bugs to RHEL9. If necessary to resolve in RHEL8, then clone to the current RHEL8 release.

Comment 5 khanicov 2021-10-13 11:13:21 UTC
Merged upstream as:

8c26fd7823 qemu_migration: set bandwidth in priv during migration

v7.8.0-202-g8c26fd7823

Comment 8 Fangge Jin 2021-11-29 11:58:58 UTC
Verified with libvirt-7.9.0-1.el9.x86_64

Comment 10 errata-xmlrpc 2022-05-17 12:45:05 UTC
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 (new packages: libvirt), 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/RHBA-2022:2390