>Hello, we are attempting local reproduction and will work to analyze and
>fix the issue. If you are able to, could you please provide us with the
>reproduction commands or script to facilitate easier investigation and
>rootcausing?

1.Enable SRIOV/iommu on the host.
2.Install the libvirt and qemu on the host.
3.Create VFs on host.
4.Download a ubuntu22.04 cloud image(maybe need change password with 
virt-customize) and Define a xml and start the VM,
the net_failover interface part on this link, 
https://docs.kernel.org/networking/net_failover.html
The mainline kernel download from this link, 
https://kernel.ubuntu.com/mainline/?C=N;O=D
5.A New xml file vf.xml with this content,
<interface type='hostdev' managed='yes'>
  <mac address='52:54:00:00:12:53'/>
  <source>
    <address type='pci' domain='0x0000' bus='0x42' slot='0x02' function='0x5'/>
  </source>
  <teaming type='transient' persistent='ua-backup0'/>
</interface>
6.Execute virsh console vm0 to login to the VM on a new terminal
Detach the VF and attach the VF
virsh detach-device vm0 a.xml
virsh attach-device vm0 a.xml
7.In the VM, the kworker hangs.
Get the process id, ps -ef | grep 'kworker.*iavf'
Get the stack, cat /proc/275/stack

Reply via email to