Confirmed on 12.04. Enabled IOMMU, now virt-manager complains:
Error starting domain: internal error Process exited while reading console log output: char device redirected to /dev/pts/2
Failed to assign device "hostdev0" : Operation not permitted
kvm: -device pci-assign,host=02:00.0,id=hostdev0,configfd=20,bus=pci.0,addr=0x6: Device 'pci-assign' could not be initialized
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 66, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/domain.py", line 1120, in startup
self._backend.create()
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 551, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/2
Failed to assign device "hostdev0" : Operation not permitted
kvm: -device pci-assign,host=02:00.0,id=hostdev0,configfd=20,bus=pci.0,addr=0x6: Device 'pci-assign' could not be initialized
On a side node, virt-manager should most likely be modified to disable/grey out certain features if IOMMU is disabled.
Confirmed on 12.04. Enabled IOMMU, now virt-manager complains:
Error starting domain: internal error Process exited while reading console log output: char device redirected to /dev/pts/2 host=02: 00.0,id= hostdev0, configfd= 20,bus= pci.0,addr= 0x6: Device 'pci-assign' could not be initialized
Failed to assign device "hostdev0" : Operation not permitted
kvm: -device pci-assign,
Traceback (most recent call last): virt-manager/ virtManager/ asyncjob. py", line 45, in cb_wrapper asyncjob, *args, **kwargs) virt-manager/ virtManager/ asyncjob. py", line 66, in tmpcb virt-manager/ virtManager/ domain. py", line 1120, in startup _backend. create( ) python2. 7/dist- packages/ libvirt. py", line 551, in create host=02: 00.0,id= hostdev0, configfd= 20,bus= pci.0,addr= 0x6: Device 'pci-assign' could not be initialized
File "/usr/share/
callback(
File "/usr/share/
callback(*args, **kwargs)
File "/usr/share/
self.
File "/usr/lib/
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/2
Failed to assign device "hostdev0" : Operation not permitted
kvm: -device pci-assign,
On a side node, virt-manager should most likely be modified to disable/grey out certain features if IOMMU is disabled.