From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@bugzilla.kernel.org
Subject: [Bug 42636] PCI passthrough does not work with AMD iommu for PCI
device
Date: Fri, 30 Mar 2012 11:07:22 GMT
Message-ID: <201203301107.q2UB7ME9024528@bugzilla.kernel.org>
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
To: kvm@vger.kernel.org
Return-path:
Received: from bugzilla.kernel.org ([198.145.19.204]:57451 "EHLO
bugzilla.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S1759862Ab2C3LHW (ORCPT );
Fri, 30 Mar 2012 07:07:22 -0400
Received: from bugzilla.kernel.org (localhost [127.0.0.1])
by bugzilla.kernel.org (8.14.5/8.14.5) with ESMTP id q2UB7MDQ024529
for ; Fri, 30 Mar 2012 11:07:22 GMT
In-Reply-To:
Sender: kvm-owner@vger.kernel.org
List-ID:
https://bugzilla.kernel.org/show_bug.cgi?id=42636
--- Comment #4 from Klaus Mueller 2012-03-30 11:07:21 ---
Created an attachment (id=72753)
--> (https://bugzilla.kernel.org/attachment.cgi?id=72753)
log of qemu-kvm crash
I tried again with only one pci card inserted (Network controller: RaLink
RT2800 802.11n PCI). The tree is now like this:
+-14.4-[06]----07.0 RaLink RT2800 802.11n PCI
I booted with intel_iommu=on (does this apply to AMD, too?).
If I start the VM now, I'm getting the same error again:
Failed to assign device "hostdev0" : Device or resource busy
qemu-kvm: -device
pci-assign,host=06:07.0,id=hostdev0,configfd=19,bus=pci.0,addr=0x5: Device
'pci-assign' could not be initialized
If I'm additionally putting the bridge to the VM, I'm getting an error telling
me about a missing reset function and another missing thing, too.
If I remove the bridge from the VM xml-file again and start it now, the VM
suddenly starts up fine :-))).
But if the VM is stopped again (with halt in the VM or with virsh shutdown VM,
qemu-kvm crashes and remains as zombie. The output from messages is attached as
iommu-trace.log.
kvm is 0.15.0 and kernel is 3.1.10 (kernel-desktop from openSUSE)
--
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.