greetings to all,
I am currently evaluating proxmox and I'm able to create "regular" VM's without problems.
Going past creating regular VM's, I'm trying to passthrough some intel ethernet card(s) and I will have problems if:
-- two physical intel ethernet cards are passthrough to a single guest
-- a single physical intel ethernet card is passthrough to a single guest and another guest with the same config
note:
no problems if only 1 physical device is passedthrough on a single VM and nothing else is passedthrough.
my hardware:
e3-1220l v2
asrock p67 exteme4
another info:
intel_iommu=on
vfio loaded on boot
added entry to /etc/modprobe.d/vfio.conf with "options vfio-pci ids=8086:109a,8086:109a,8086:109a"
lspci ethernet info
scenario 1: single VM with 2 physical nic passedthrough
guest config:
scenario 2: single physical nic passedthrough in a single guest VM
(2x physical individual intel nics passedthrough)
1st guest config: (same as above but modified)
2nd guest VM config:
both will give same output in dmesg:
VM's will work fine BUT it seems that the vfio-pci assignment are assinged on the same place/spot! and therefore the 2nd ethernet card booted will not work even though it is seen without problems.
(2nd card can be seen but no connectivity inside guest as its assignment seems to be hindered by the first card)
any insights?
if you need further info, just let me know.
thanks in advance!
I am currently evaluating proxmox and I'm able to create "regular" VM's without problems.
Going past creating regular VM's, I'm trying to passthrough some intel ethernet card(s) and I will have problems if:
-- two physical intel ethernet cards are passthrough to a single guest
-- a single physical intel ethernet card is passthrough to a single guest and another guest with the same config
note:
no problems if only 1 physical device is passedthrough on a single VM and nothing else is passedthrough.
my hardware:
e3-1220l v2
asrock p67 exteme4
another info:
intel_iommu=on
vfio loaded on boot
added entry to /etc/modprobe.d/vfio.conf with "options vfio-pci ids=8086:109a,8086:109a,8086:109a"
lspci ethernet info
Code:
01:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller (rev 03)
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
03:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller (rev 03)
0d:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
scenario 1: single VM with 2 physical nic passedthrough
guest config:
Code:
boot: d
cores: 2
cpu: host
hostpci0: 01:00.0,pcie=1
hostpci1: 02:00.0,pcie=1
ide2: local:iso/asg-9.314-13.1.iso,media=cdrom,size=743448K
machine: q35
memory: 4096
name: sophos
net0: virtio=62:33:35:66:36:63,bridge=vmbr0
numa: 0
ostype: l26
smbios1: uuid=1dc7bc8d-b6d0-4eb8-aa58-5531a2e8e5ab
sockets: 1
startup: order=1,up=180
virtio0: lvm_50g:vm-100-disk-1,discard=on,backup=no,iothread=on,size=32G
scenario 2: single physical nic passedthrough in a single guest VM
(2x physical individual intel nics passedthrough)
1st guest config: (same as above but modified)
Code:
boot: d
cores: 2
cpu: host
hostpci0: 01:00.0,pcie=1
ide2: local:iso/asg-9.314-13.1.iso,media=cdrom,size=743448K
machine: q35
memory: 4096
name: sophos
net0: virtio=62:33:35:66:36:63,bridge=vmbr0
numa: 0
ostype: l26
smbios1: uuid=1dc7bc8d-b6d0-4eb8-aa58-5531a2e8e5ab
sockets: 1
startup: order=1,up=180
virtio0: lvm_50g:vm-100-disk-1,discard=on,backup=no,iothread=on,size=32G
2nd guest VM config:
Code:
bootdisk: ide0
cores: 1
ide0: local:101/vm-101-disk-1.qcow2,size=1G
ide2: local:iso/asg-9.314-13.1.iso,media=cdrom
memory: 1024
name: test2
net0: e1000=32:31:39:65:33:63,bridge=vmbr0
numa: 0
ostype: l26
smbios1: uuid=ec3ec39e-4d9c-469f-9655-d0fe4352bc6c
sockets: 1
machine: q35
hostpci0: 03:00.0,pcie=1
both will give same output in dmesg:
Code:
vfio-pci 0000:01:00.0: enabling device (0000 -> 0003)
...
vfio-pci 0000:03:00.0: enabling device (0000 -> 0003)
...
...
vfio_bar_restore: 0000:03:00.0 reset recovery - restoring bars
VM's will work fine BUT it seems that the vfio-pci assignment are assinged on the same place/spot! and therefore the 2nd ethernet card booted will not work even though it is seen without problems.
(2nd card can be seen but no connectivity inside guest as its assignment seems to be hindered by the first card)
any insights?
if you need further info, just let me know.
thanks in advance!