-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
rhel-10.0.beta
-
None
-
Moderate
-
rhel-sst-virtualization-networking
-
ssg_virtualization
-
None
-
QE ack
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
-
x86_64
-
Linux
-
None
What were you trying to do that didn't work?
The qemu-kvm throws " vhost vring error in virtqueue 1: Invalid argument (22)" when the VM with 1 virtio-net interface + inetl_iommu device starts
Please provide the package NVR for which bug is seen:
host:
6.10.0-0.rc4.11.el10.x86_64
qemu-kvm-9.0.0-2.el10.x86_64
libvirt-10.0.0-3.el10.x86_64
edk2-ovmf-20240214-1.el10.noarch
VM:
6.10.0-0.rc2.10.el10.x86_64
How reproducible:
100%
Steps to reproduce
1. start a VM with 1 virtio-net + iommu device
# virt-install --machine=q35 --noreboot --name=rhel10 --memory=8192 --vcpus=4 --graphics type=vnc,port=5910,listen=0.0.0.0 --osinfo detect=on,require=off --check all=off --memtune hard_limit=41943040 --import --noautoconsole --check all=off --network bridge=switch,model=virtio,mac=52:54:00:02:10:10,driver.iommu=on,driver.ats=on --disk path=/home/images/RHEL10.qcow2,bus=virtio,cache=none,format=qcow2,io=threads,size=20,driver.iommu=on,driver.ats=on --memballoon virtio,driver.iommu=on,driver.ats=on --features ioapic.driver=qemu --iommu model=intel,driver.intremap=on,driver.caching_mode=on,driver.iotlb=on --boot uefi,firmware.feature0.name=secure-boot,firmware.feature0.enabled=no
# virsh start rhel10
2. check the qemu-kvm log
# cat /var/log/libvirt/qemu/rhel10.log ... 2024-06-20T09:23:33.976145Z qemu-kvm: vhost vring error in virtqueue 1: Invalid argument (22)
3. check the VM's interface status
# ifconfig enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.73.211.239 netmask 255.255.254.0 broadcast 10.73.211.255 inet6 2620:52:0:49d2:50f8:4897:5f8d:40f6 prefixlen 64 scopeid 0x0<global> inet6 fe80::2ad2:2dc7:8cc0:7ac0 prefixlen 64 scopeid 0x20<link> ether 52:54:00:02:10:10 txqueuelen 1000 (Ethernet) RX packets 883 bytes 72807 (71.1 KiB) RX errors 0 dropped 150 overruns 0 frame 86 TX packets 15 bytes 1274 (1.2 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
4. keep ping the VM
The ping doesn't work
Expected results
No qemu-kvm error and the ping works
Actual results
The ping doesn't work