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

Failover VF migration failure with vfio-vf device

    • No
    • Important
    • rhel-sst-virtualization-windows
    • ssg_virtualization
    • None
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • x86_64
    • Windows
    • None

      What were you trying to do that didn't work?
      QE attempted to perform a live virtual machine migration using qemu9 on a system configured with a ConnectX-7 network adapter (MT2910 Family). The migration was expected to be complete without errors, allowing the VM to continue running on the destination host, but hitting error reported.

      Please provide the package NVR for which bug is seen:
      kernel-core-5.14.0-496.el9.x86_64
      qemu-kvm-9.0.0-8.el9.x86_64
      libvirt-10.5.0-4.el9.x86_64
      virtio-win-prewhql-0.1-262

      How reproducible:
      100%

      Steps to reproduce:
      1. The previous steps are as https://issues.redhat.com/browse/RHEL-32200?focusedId=25117728&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-25117728
      2. Migrate the VM from the source host to the target host

      Expected results:
      Migration is successful.

      Actual results:
      ```
      virsh migrate wji-win11-24h2 --live --verbose qemu+ssh://hostb.example.com/system
      Migration: [100.00 %]error: internal error: QEMU unexpectedly closed the monitor (vm='wji-win11-24h2'): 2024-08-19T02:56:15.951536Z qemu-kvm: get_pci_config_device: Bad config data: i=0x78 read: a0 device: 20 cmask: ff wmask: 0 w1cmask:0
      2024-08-19T02:56:15.951612Z qemu-kvm: Failed to load PCIDevice:config
      2024-08-19T02:56:15.951620Z qemu-kvm: Failed to load pcie-root-port:parent_obj.parent_obj.parent_obj
      2024-08-19T02:56:15.951626Z qemu-kvm: error while loading state for instance 0x0 of device '0000:00:02.3/pcie-root-port'
      2024-08-19T02:56:15.952235Z qemu-kvm: load of migration failed: Invalid argument
      ```

      Additional Notes:
      1. QE also tested the lower qemu-kvm version: qemu-kvm-9.0.0-6.el9.x86_64, which also hit this problem.
      2. The source and destination sides use"pci@0000:e1:00.0 enp225s0np0 network MT2910 Family [ConnectX-7]".

              yuri.benditovich Yuri Benditovich
              rh-ee-wji Wenkang Ji
              Meirav Dean Meirav Dean
              Wenkang Ji Wenkang Ji
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: