Received: from eggs.gnu.org ([2001:4830:134:3::10]:59972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCMbI-00038t-BA for qemu-devel@nongnu.org; Fri, 25 Dec 2015 02:15:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCMbE-00008V-W3 for qemu-devel@nongnu.org; Fri, 25 Dec 2015 02:15:44 -0500 Received: from indium.canonical.com ([91.189.90.7]:58291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCMbE-00008Q-Qg for qemu-devel@nongnu.org; Fri, 25 Dec 2015 02:15:40 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1aCMbE-0007lo-9Y for ; Fri, 25 Dec 2015 07:15:40 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 3C51C2E80BF for ; Fri, 25 Dec 2015 07:15:40 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 25 Dec 2015 07:09:49 -0000 From: Robert Hu Sender: bounces@canonical.com Message-Id: <20151225070949.26081.88200.malonedeb@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1529187] [NEW] vfio passtrhough fails at 'No available IOMMU models' on Intel BDW-EP platform Reply-To: Bug 1529187 <1529187@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: Environment: ------------ Host OS (ia32/ia32e/IA64): ia32e Guest OS (ia32/ia32e/IA64): ia32e Guest OS Type (Linux/Windows): linux kvm.git Commit: da3f7ca3 qemu.git Commit: 38a762fe = Host Kernel Version: 4.4.0-rc2 Hardware: BDW EP (Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz, Grantley-EP) Bug description: -------------------------- when create guest with vt-d assignment using vfio-pci driver, the guest ca= n not be created. Warning 'No available IOMMU models' Reproduce steps: ---------------- 1. bind device to vfio-pci driver 2. qemu-system-x86_64 -enable-kvm -m 512 -smp 2 -device vfio-pci,host=3D81= :00.0 -net none -drive file=3Drhel7u2.qcow2,if=3Dnone,id=3Dvirtio-disk0 -de= vice virtio-blk-pci,drive=3Dvirtio-disk0 Current result: ---------------- qemu-system-x86_64: -device vfio-pci,host=3D81:00.0: vfio: No available IO= MMU models qemu-system-x86_64: -device vfio-pci,host=3D81:00.0: vfio: failed to setup= container for group 41 qemu-system-x86_64: -device vfio-pci,host=3D81:00.0: vfio: failed to get g= roup 41 qemu-system-x86_64: -device vfio-pci,host=3D81:00.0: Device initialization= failed Expected result: ---------------- guest can be created Basic root-causing log: ---------------------- =EF=88=90 ** Affects: qemu Importance: Undecided Status: New ** Attachment added: "host dmesg" https://bugs.launchpad.net/bugs/1529187/+attachment/4540026/+files/dmesg= .log -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1529187 Title: vfio passtrhough fails at 'No available IOMMU models' on Intel BDW-EP platform Status in QEMU: New Bug description: Environment: ------------ Host OS (ia32/ia32e/IA64): ia32e Guest OS (ia32/ia32e/IA64): ia32e Guest OS Type (Linux/Windows): linux kvm.git Commit: da3f7ca3 qemu.git Commit: 38a762fe = Host Kernel Version: 4.4.0-rc2 Hardware: BDW EP (Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz, Grantley-EP) Bug description: -------------------------- when create guest with vt-d assignment using vfio-pci driver, the guest = can not be created. Warning 'No available IOMMU models' = Reproduce steps: ---------------- 1. bind device to vfio-pci driver 2. qemu-system-x86_64 -enable-kvm -m 512 -smp 2 -device vfio-pci,host=3D= 81:00.0 -net none -drive file=3Drhel7u2.qcow2,if=3Dnone,id=3Dvirtio-disk0 -= device virtio-blk-pci,drive=3Dvirtio-disk0 Current result: ---------------- qemu-system-x86_64: -device vfio-pci,host=3D81:00.0: vfio: No available = IOMMU models qemu-system-x86_64: -device vfio-pci,host=3D81:00.0: vfio: failed to set= up container for group 41 qemu-system-x86_64: -device vfio-pci,host=3D81:00.0: vfio: failed to get= group 41 qemu-system-x86_64: -device vfio-pci,host=3D81:00.0: Device initializati= on failed Expected result: ---------------- guest can be created Basic root-causing log: ---------------------- =EF=88=90 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1529187/+subscriptions