Digium TDM410 passthrought to KVM VM trixbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, my name is Paul.
I need to map a PCI device for a virtual machine.

I followed the tutorial "How to assign devices with KVM VT-d".
Giving the command "dmesg | grep-e-e dmar IOMMU" prompt does not return anything!

The Linux distribution is Ubuntu server 9.10 with different kernel test:
1. the original 2.6.31-19-server ;
2. 2.6.31-19-server ricompiled with mudules Support for DMA Remapping Devices;Enable DMA Remapping Devices;PCI Stub driver;Support for Interrupt Remapping ; 3. 2.6.32.8 ricompiled with mudules Support for DMA Remapping Devices;Enable DMA Remapping Devices;PCI Stub driver;Support for Interrupt Remapping ;

Infrastructure virtualization is "KVM" installed from Ubuntu repository (1:84+dfsg-0ubuntu16+0.11.0+0ubuntu6.3) .

The virtual machine will install trixbox. The PCI card to map is a "Digium TDM410p".

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

The log massage in /var/log/libvirt/qemu are:
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/ bin HOME=/home/paolo USER=root LOGNAME=root /usr/bin/kvm -S -M pc-0.11 -m 512 -smp 1 -name tris -uuid 3fa6c3d5-50df-8aa6-dc4d-8b6ec369674f - nographic -monitor unix:/var/run/libvirt/qemu/ tris.monitor,server,nowait -boot c -net none -serial none -parallel none -usb -vga cirrus -pcidevice host=01:00.0
create_userspace_phys_mem: Invalid argument
assigned_dev_iomem_map: Error: create new mapping failed

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.

Can someone kindly help me?
Thanks
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux