1. Directly editing the XML file for the virtual machine with the parameters indicated in the documentation:
...
<devices>
<hostdev mode='subsystem' type='pci'>
<source>
<address bus='0x01' slot='0x00' function='0x0'/> <-----this is my personal configuration
</ source>
</ hostdev>
</ devices>
...
2. Adding the PCI card via virt-manager
In both cases, the virtual machine will not start. Virt-manager returns this error:"Error starting domain/ monitor socket did not show up./ Connection refused"
"Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 493, in run_domain
vm.startup()
File "/usr/share/virt-manager/virtManager/domain.py", line 558, in startup
self.vm.create()
File "/usr/lib/python2.6/dist-packages/libvirt.py", line 293, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: monitor socket did not show up.: Connection refused"
Can someone kindly help me?
Thanks