[libvirt-users] Digium TDM410 passthrought to KVM VM trixbox

raincatsdogs at me.com raincatsdogs at me.com
Thu Feb 18 20:08:29 UTC 2010


Hello, my name is Paul.
I need to map a PCI device for a virtual machine.
The Linux distribution is Ubuntu server 9.10, infrastructure  
virtualization is "KVM". The virtual machine will install trixbox. To  
map the PCI card is a "Digium TDM410p.
There currently, KVM hosts a virtual machine that runs smoothly  
without any problems. In fact, this virtual machine is running  
Openfiler and has direct access to 2 physical disks installed on the  
server.
Creating a new virtual machine can not connect the Digium card,  
directly to the virtual machine.I tried in 2 ways.

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20100218/e6c0ad15/attachment.htm>


More information about the libvirt-users mailing list