Passtrough Digital Devices tunner card to win10 vm


Recommended Posts

Hello,

 

I m struggling with the topic in the title.

 

Some introduction. The device I m trying to passtrough is alone in IOMMU group 14 :

IOMMU group 13:	[8086:10d3] 02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
IOMMU group 14:	[dd01:0003] 03:00.0 Multimedia controller: Digital Devices GmbH Octopus DVB Adapter
IOMMU group 15:	[8086:2c70] ff:00.0 Host bridge: Intel Corporation Xeon 5600 Series QuickPath Architecture Generic Non-core Registers (rev 02)

 

I am trying to acomplish it by editing the vm xml file and adding

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
      </source>
    </hostdev>

After I edit the xml the tuner can be selected from the Other PCI section of the VM template . However I m getting an error message when I try to start the VM :

 

internal error: qemu unexpectedly closed the monitor: 2020-05-22T14:46:15.167972Z qemu-system-x86_64: -device vfio-pci,host=0000:03:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio 0000:03:00.0: failed to setup container for group 14: Failed to set iommu for container: Operation not permitted

 

I've only used dockers so far, they provide anything I need so I have no experience in working and troubleshooting VMs so it would be great if somebody can provide some help!

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.