Direct attach a NIC

Hello,

I am wondering if it is possible to directly attach a physical nic to a VM. For example, I have a special 10GIG nic in the box that is made for sniffing network traffic. I would like to create a VM and have this nic show up in the VM. Is this at all possible?
 
That really depends on the hardware (host, network card). You can try pci pass through with

# qm set <vmid> --hostpci <bus:dev.func>

You can us the "lspci" command to list existing pci devices.

see 'man qm'