New: [VT-d] VT-d device passthrough fail to guest
https://bugzilla.kernel.org/show_bug.cgi?id=29232
Summary: [VT-d] VT-d device passthrough fail to guest
Product: Virtualization
Version: unspecified
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: kvm
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Regression: Yes
Environment:
------------
Host OS : IA32E
Guest OS : IA32E
kvm.git Commit: a685b38e272587e644fedd37269ddb82df21c052 qemu-kvm Commit: 671d89d6411655bb4f8058ce6eb86bb0bb8ec978 Host Kernel Version: 2.6.38-rc4
Bug detailed description:
--------------------------
When assign one PCI/e device to guest, qemu report error and guest can not boot up. If do hot-add device to guest, qemu will be killed.
[root@vt-nhm9 qemu-kvm]# qemu-system-x86_64 -m 512 -smp 2 -device pci-assign,host=13:00.0 -net none -hda /path/rhel5.imgassigned_dev_pci_read: pread failed, ret = 0 errno = 22
Reproduce steps:
----------------
1) install latest kvm and qemu-kvm
2) qemu-system-x86_64 -m 512 -smp 2 -device pci-assign,host=13:00.0 -net none -hda /path/rhel5.img
3) there will be a qemu error
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 29232] [VT-d] VT-d device passthrough fail to guest
https://bugzilla.kernel.org/show_bug.cgi?id=29232
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from [email protected] 2011-02-16 16:43:26 --- This will be fixed with the 2.6.38-rc5 merge of kvm.git. Commit 47970b1b was bad and later reverted in f00eaeea. A corrected version was added in 683034fca.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 29232] [VT-d] VT-d device passthrough fail to guest
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=29232
Rafael J. Wysocki <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected], | |[email protected], | |[email protected] Kernel Version| |2.6.38-rc4 Version|unspecified |2.5 Blocks| |27352
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 29232] [VT-d] VT-d device passthrough fail to guest
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=29232
Jay Ren <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #2 from Jay Ren <[email protected]> 2011-03-04 02:28:49 --- This bug has been verified. It's OK with b35049715 kvm.git.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 29232] [VT-d] VT-d device passthrough fail to guest
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=29232
Florian Mickler <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |CODE_FIX--- Comment #3 from Florian Mickler <[email protected]> 2011-03-04 20:33:57 --- merged for v2.6.38-rc5:
commit f00eaeea7a42b5ea327e9ce8839cb0b53d3bdb4e
Author: Linus Torvalds <[email protected]> Date: Sun Feb 13 07:50:50 2011 -0800
Revert "pci: use security_capable() when checking capablities during config
space read"
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 29232] [VT-d] VT-d device passthrough fail to guest
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=29232
Florian Mickler <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.