-
Bug
-
Resolution: Cannot Reproduce
-
Undefined
-
None
-
rhel-9.3.0
-
None
-
None
-
rhel-sst-virtualization-networking
-
ssg_virtualization
-
None
-
QE ack
-
False
-
-
None
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
Migrate VM with 2 vdpa interface, the migration cmd hangs on the source host, and the virsh cmd hangs on the target host.
Multiple virtqemud daemon will be active.
Please provide the package NVR for which bug is seen:
libvirt-9.5.0-7.el9_3.x86_64
qemu-kvm-8.0.0-16.el9_3.x86_64
How reproducible:
100%
Steps to reproduce
- Prepare the vdpa device on both source and target host, prepare the migration env. And on source host, start a vm with 2 vdpa interfaces:
# virsh dumpxml rh --xpath //interface <interface type="vdpa"> <mac address="52:54:00:cb:45:00"/> <source dev="/dev/vhost-vdpa-0"/> <model type="virtio"/> <driver queues="8"/> <alias name="net0"/> <acpi index="1"/> <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/> </interface> <interface type="vdpa"> <mac address="52:54:00:cb:45:11"/> <source dev="/dev/vhost-vdpa-1"/> <model type="virtio"/> <driver queues="8"/> <alias name="net1"/> <acpi index="2"/> <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/> </interface> # virsh start rh # virsh domiflist rh Interface Type Source Model MAC ------------------------------------------------------------------- - vdpa /dev/vhost-vdpa-0 virtio 52:54:00:cb:45:00 - vdpa /dev/vhost-vdpa-1 virtio 52:54:00:cb:45:11
On target host:
# vdpa dev config show vdpa0: mac 52:54:00:cb:45:00 link up link_announce false max_vq_pairs 8 mtu 1500 negotiated_features CSUM GUEST_CSUM HOST_TSO4 HOST_TSO6 STATUS CTRL_VQ MQ CTRL_MAC_ADDR VERSION_1 ACCESS_PLATFORM vdpa1: mac 52:54:00:cb:45:11 link up link_announce false max_vq_pairs 8 mtu 1500 negotiated_features CSUM GUEST_CSUM HOST_TSO4 HOST_TSO6 STATUS CTRL_VQ MQ CTRL_MAC_ADDR VERSION_1 ACCESS_PLATFORM
- Do migration on source host:
# virsh migrate guest_rh --live --verbose qemu+ssh://dell-per740-38.lab.eng.pek2.redhat.com/system --p2p (The cmd will hang, and the guest is running)
- On target host, the virsh cmd will hang after the migrate cmd running on source host:
# virsh list --all (hang) # ps aux | grep virtqemud | grep -v grep root 4001 0.1 0.0 1366580 35760 ? Ssl 22:39 0:00 /usr/sbin/virtqemud --timeout 120 qemu 4042 0.0 0.0 1366580 17124 ? S 22:39 0:00 /usr/sbin/virtqemud --timeout 120 root 4045 0.0 0.0 1366580 16476 ? D 22:39 0:00 /usr/sbin/virtqemud --timeout 120
Expected results
The migration succeed without any error; or forbid migration with multiple vdpa interfaces;
Actual results
When doing migration with multiple vdpa interfaces, migration hangs on source host and virsh cmd hangs on target host, multiple virtqemud daemon are active.