-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
rhel-10.0.beta
-
None
-
Low
-
rhel-sst-virtualization-networking
-
ssg_virtualization
-
1
-
False
-
-
Yes
-
None
-
None
-
None
-
If docs needed, set a value
-
-
x86_64
-
None
Description of problem:
When reboot or shutdown the VM with an Intel iommu device and PF/VF, the qemu-kvm throws the error info like : Fail to lookup the translated address fff22000
Version-Release number of selected component (if applicable):
host:
qemu-kvm-9.0.0-6.el10.x86_64
6.10.0-15.el10.x86_64
libvirt-10.5.0-4.el10.x86_64
How reproducible:
100%
Steps to Reproduce:
1. import a VM which has intel iommu + virtio-net vhost interface
# virt-install --machine=q35 --noreboot --name=rhel10 --memory=4096 --vcpus=4 --graphics type=vnc,port=5993,listen=0.0.0.0 --osinfo detect=on,require=off --check all=off --memtune hard_limit=12582912 --memballoon virtio,driver.iommu=on,driver.ats=on --import --noautoconsole --check all=off --network bridge=switch,model=virtio,mac=52:54:00:03:93:93,driver.iommu=on,driver.ats=on --disk path=/home/images/RHEL93.qcow2,bus=virtio,cache=none,format=qcow2,io=threads,size=20,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 --hostdev pci_0000_3b_0e_0 --hostdev pci_0000_3b_0e_1
2. make sure the VM kernel has enabled intel_iommu=on option
3. start a VM
# virsh start rhel10
4. reboot or shutdown the VM
run "reboot" or "shutdown -h now" in the VM
5. repeated the step 2 for 5 times
Actual results:
The qemu-kvm throws the error info like : Fail to lookup the translated address fff22000
Expected results:
The qemu-kvm does not throw any error
Additional info:
(1) The cmd I used to reproduce this issue via auto tests:
# python3 /home/private_autocase/vfio/vfio_sriov_test.py --feature=vf --domain=rhel93 --device_name=MT2892 --machine_type=q35 --bios=ovmf --test_list="intel_iommu_test" or # python3 /home/private_autocase/vfio/vfio_sriov_test.py --feature=pf --domain=rhel93 --device_name=82599ES --machine_type=q35 --bios=ovmf --test_list="intel_iommu_test"
- clones
-
RHEL-7334 [viommu/vhost] qemu-kvm: Fail to lookup the translated address
- Planning