Bug 2095093 - migrate-setspeed cannot set the speed of blockjob in non-shared disk migration
Summary: migrate-setspeed cannot set the speed of blockjob in non-shared disk migration
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: libvirt
Version: 9.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Jiri Denemark
QA Contact: Fangge Jin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-09 02:17 UTC by Han Han
Modified: 2023-03-29 15:50 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-124737 0 None None None 2022-06-09 02:33:43 UTC

Description Han Han 2022-06-09 02:17:37 UTC
Description of problem:
As subject

Version-Release number of selected component (if applicable):
libvirt-8.3.0-1.el9.x86_64
qemu-kvm-7.0.0-4.el9.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Start an VM. Do non-shared disk migration with a bandwidth value:
➜  ~ virsh migrate OVMF qemu+ssh://root@hhan-rhel9--2/system --live --copy-storage-all --bandwidth 2

2. Set the bandwidth by migrate-setspeed and the check it by blockjob
➜  ~ virsh migrate-setspeed OVMF 4                                                                  

➜  ~ virsh blockjob OVMF vda                                                                        
Block Copy: [  0 %]    Bandwidth limit: 2097152 bytes/s (2.000 MiB/s)

The bandwidth value from blockjob is not expected

Actual results:
As above

Expected results:
The bandwidth got from blockjob == the bandwidth set by migrate-setspeed

Additional info:
From qmp of migrate-setspeed shows only the speed of VM migration is set:
1351.716 > 0x7f58283baf10 {"execute":"migrate-set-parameters","arguments":{"max-bandwidth":4194304},"id":"libvirt-448"}
1351.717 < 0x7f58283baf10 {"return": {}, "id": "libvirt-448"}


Note You need to log in before you can comment on or make changes to this bug.