Bug 1449067
Summary: | [RFE] Device passthrough support for VT-d emulation | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Peter Xu <peterx> |
Component: | qemu-kvm-rhev | Assignee: | Peter Xu <peterx> |
Status: | CLOSED ERRATA | QA Contact: | Yanan Fu <yfu> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.4 | CC: | chayang, hhuang, jinzhao, juzhang, knoel, michen, mtessun, peterx, pezhang, virt-maint, yfu |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-rhev-2.10.0-3.el7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-11 00:19:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Peter Xu
2017-05-09 07:44:16 UTC
Current upstream work: https://lists.gnu.org/archive/html/qemu-devel/2017-04/msg02583.html The block field is incorrect. I was meaning bug 1448813, but now I would prefer no dependency since we'll postpone this bug to 7.5 and we need to solve the crash in bug 1448813. As a conclusion, I'm removing the blocker. Fix included in qemu-kvm-rhev-2.10.0-3.el7 qemu command line: /usr/libexec/qemu-kvm \ -M q35,accel=kvm,kernel-irqchip=split \ -m 2G \ -cpu SandyBridge,enforce \ -device intel-iommu,intremap=on,caching-mode=on,id=viommu \ -device pcie-root-port,id=root0,slot=1 \ -device pcie-root-port,id=root1,slot=2 \ -drive file=/home/rhel74-64-virtio.qcow2,if=none,id=drive-virtio-blk-disk,format=qcow2,cache=none \ -device virtio-blk-pci,bus=root0,drive=drive-virtio-blk-disk \ -monitor stdio \ -vga qxl \ -vnc :0 \ -device vfio-pci,host=83:00.0,id=pf,rombar=0,bus=root1 \ Test steps: 1. Prepare a guest with "intel_iommu=on iommu=pt" in kernel line 2. Boot the vm with the command line above, key device: -M q35,accel=kvm,kernel-irqchip=split \ -device intel-iommu,intremap=on,caching-mode=on,id=viommu \ -device vfio-pci,host=83:00.0,id=pf,rombar=0,bus=root1 \ ---------------------reproduce--------------- Reproduce this bz with RHEL7.4.z, as this issue exist before rebase to 2.10. Test version: qemu-kvm: qemu-img-rhev-2.9.0-16.el7_4.10.x86_64 After during guest booting, qemu monitor promote: (qemu) qemu-kvm: iommu has granularity incompatible with target AS reproduce this issue successfully. ---------------------verification--------------- Test version: qemu-kvm: qemu-kvm-rhev-2.10.0-3.el7 Guest can boot up without the warning, and run normally. According to the test result above, move to VERIFIED. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:1104 |