Configure direct pass-through for devices in web-gui

hguo83

New Member
Dec 23, 2017
4
0
1
41
Firstly, i love Proxmox VE especially after switching over from VMware ESXI for my homelab.

There are a few hoops that i need to jump through but i do know my way around Linux.

One major gripe that i have is direct pass-through for devices, why can't the developers incorporate this feature into the web-gui like what VMware have done.

In Vsphere client, I can see a list of devices that can be pass-through, enabled them and then assigned it to a VM that i have created.

Any plans to incorporate direct pass-through for devices like graphics card, NICs, USB controllers and etc directly from the web-gui in the future ?
 
You are working in that? But well, I thought qemuKVM isn't able to do this in first place and VMware has some magic tricks to passthrough an entire disk w/o passthrough of storage controller.

I think passing through an entire disk as virtio block device is not what thread opener wants to?
 
@efeu : He reffered to "devices like graphics card, NICs, USB controllers" witch is sometimes a bit tricky, but it should be configurable from the WEB-GUI as a pcihost[x] device. Described here: https://pve.proxmox.com/wiki/Pci_passthrough

But there are some annoying things (especially for GPUs) so it may be a bit tricky to do an easy web-gui configurable way.

In terms of "forwarding" block devices to a Guest VM:

Code:
<disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='none'/>
      <source dev='/dev/sda'/>
      <target dev='vdc' bus='virtio'/>
</disk>

It should be relatively easy to do, but e never tried it (yet).