Hey all I am trying to pass through a couple 4 port HBA cards to my VM. I can't seem to get this working with the VM config file, but I can add them in after it boots with qemu. Below is my VM config file.
bootdisk: virtio0
cores: 4
cpu: host
memory: 25000
name: monthvault
net0: virtio=22:A6:54:77:92:A8,bridge=vmbr1
ostype: l26
sockets: 1
virtio0: drbd1:vm-101-disk-1,size=100G
hostpci0: 86:00.0
hostpci1: 8b:00.0
If I use the following command after the VM boots, then all is well.
device_add pci-assign,host=86:00.0,id=hba1
Am I missing something in the config file, or has something changed that the wiki hasn't been updated with? I appreciate the help!
bootdisk: virtio0
cores: 4
cpu: host
memory: 25000
name: monthvault
net0: virtio=22:A6:54:77:92:A8,bridge=vmbr1
ostype: l26
sockets: 1
virtio0: drbd1:vm-101-disk-1,size=100G
hostpci0: 86:00.0
hostpci1: 8b:00.0
If I use the following command after the VM boots, then all is well.
device_add pci-assign,host=86:00.0,id=hba1
Am I missing something in the config file, or has something changed that the wiki hasn't been updated with? I appreciate the help!