27c27 < # $FreeBSD: head/share/examples/bhyve/vmrun.sh 289001 2015-10-08 02:28:22Z marcel $ --- > # $FreeBSD$ 67d66 < echo " -P: pass-through all host PCI devices claimed by ppt" 96d94 < pass_all=0 98c96 < while getopts ac:C:d:e:g:hH:iI:l:m:p:Pt: c ; do --- > while getopts ac:C:d:e:g:hH:iI:l:m:p:t: c ; do 141,143d138 < P) < pass_all=1 < ;; 175,183d169 < if [ $pass_all -eq 1 ]; then < pci_list=$(pciconf -l | \ < awk -F: '/^ppt[0-9]+@/ {printf "%s/%s/%s\n", $2, $3, $4}') < for p in $pci_list; do < eval "pass_dev${pass_total}=\"${p}\"" < pass_total=$(($pass_total + 1)) < done < fi < 290,295d275 < if kldstat -qm nmdm; then < devargs="$devargs -l com2,/dev/nmdm${vmname}B " < fi < devargs="$devargs -s $nextslot:0,virtio-rnd " < nextslot=$(($nextslot + 1)) <