PCI Passthrough with QEMU-KVM-SPICE fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu-kvm-spice (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04
apt-cache policy qemu-kvm-spice
qemu-kvm-spice:
Installed: 1.0.50-
Candidate: 1.0.50-
Version table:
*** 1.0.50-
500 http://
100 /var/lib/
Attempting to passthrough a PCI device using kvm-spice fails.
Upon investigating logs, I was able to locate the following:
kvm-spice: -device pci-assign,
Appropriate config data from virtual machine:
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x25' slot='0x00' function='0x0'/>
</source>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</hostdev>
If I attempt to start using just geneic qemu-kvm, PCI passes through correctly
/usr/bin/kvm -S -M pc-1.0 -enable-kvm -m 1024 -smp 1,sockets=
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: qemu-kvm-spice 1.0.50-
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Sat Jun 9 23:53:20 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcEnviron:
LANGUAGE=en_AU:en
TERM=xterm
LANG=en_AU.UTF-8
SHELL=/bin/bash
SourcePackage: qemu-linaro
UpgradeStatus: No upgrade log present (probably fresh install)
This affects me as well. in Quantal. Is someone going to release a fix for this? Any idea how to force my vm (generated with virt-manager) to use kvm instead of kvm-spice?