Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-7042

migrate-setspeed cannot set the speed of blockjob in non-shared disk migration

    • None
    • Low
    • rhel-sst-virtualization
    • ssg_virtualization
    • 3
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • Unspecified
    • 11.1.0
    • None

      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"}

              jdenemar@redhat.com Jiri Denemark
              rhn-support-hhan Han Han
              Jiri Denemark Jiri Denemark
              Luyao Huang Luyao Huang
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated: