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

[mlx vf migration] qemu-kvm: Unable to shutdown socket: Transport endpoint is not connected

    • Normal
    • sst_virtualization
    • ssg_virtualization
    • 500
    • QE ack
    • False
    • Hide

      None

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

      What were you trying to do that didn't work?
      The qemu-kvm throws "qemu-kvm: Unable to shutdown socket: Transport endpoint is not connected" after canceling the mlx VF migration.

      Please provide the package NVR for which bug is seen:
      host:
      qemu-kvm-9.0.0-1.el9.x86_64
      5.14.0-441.el9.x86_64
      VM:
      5.14.0-441.el9.x86_64

      How reproducible:
      100%

      Steps to reproduce
      1. setup the test environment for mlx vfio migration
      2. start a VM with a migratable mlx VF

      # virsh dumpxml rhel95
      ...
         <interface type='hostdev'>
            <mac address='52:54:00:26:21:95'/>
            <driver name='vfio'/>
            <source>
              <address type='pci' domain='0x0000' bus='0xe1' slot='0x00' function='0x1'/>
            </source>
          </interface>
      ...
      

      3. migrate the VM

      # /bin/virsh migrate --live --domain rhel95 --desturi qemu+ssh://10.73.212.96/system
      

      4. cancel the migraton

      # virsh domjobabort --domain rhel95
      

      5. check the qemu-kvm log

      # cat /var/log/libvirt/qemu/rhel95.log
      2024-04-26 12:16:23.714+0000: initiating migration
      2024-04-26T12:16:24.924291Z qemu-kvm: Unable to shutdown socket: Transport endpoint is not connected
      2024-04-26T12:16:24.924536Z qemu-kvm: Channel error: Input/output error
      

      Expected results
      No qemu-kvm error

      Actual results
      The qemu-kvm throws "Unable to shutdown socket: Transport endpoint is not connected"

            rh-ee-clegoate Cédric Le Goater
            yanghliu@redhat.com YangHang Liu
            virt-maint virt-maint
            YangHang Liu YangHang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: