Youre right, i wasnt home when I was writing the post!
I'm attaching pictures due to the fact that the network dont work and I cannot do otherwise at the moment.
-
Openwrt image is: openwrt-x86-64-generic-ext4-combined.img
-
Openwrt version: OpenWrt 21.02.0
-
Card model: HPE 366FLR
-
lspcie
result:
-
ip a
(eth0 and eth1 are virtio interfaces, eth2 to eth5 are the intel ones) the second port is the only one not plugged in at the moment. Link is shown as down no carrier. LEDs on the ports are off.
-
qemu call:
/usr/bin/kvm -id 106 -name viawrt -no-shutdown -chardev socket,id=qmp,path=/var/run/qemu-server/106.qmp,server=on,wait=off -mon chardev=qmp,mode=control -chardev socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5 -mon chardev=qmp-event,mode=control -pidfile /var/run/qemu-server/106.pid -daemonize -smbios type=1,uuid=697b69ea-a20f-481c-8d42-83b41cb7656a -smp 4,sockets=1,cores=4,maxcpus=4 -nodefaults -boot menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg -vnc unix:/var/run/qemu-server/106.vnc,password=on -cpu kvm64,+aes,enforce,+kvm_pv_eoi,+kvm_pv_unhalt,+lahf_lm,+sep -m 2048 -k it -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg -device vmgenid,guid=b3cf26bd-3851-4509-99ee-c85c6d37891e -device vfio-pci,host=0000:04:00.0,id=hostpci0.0,bus=pci.0,addr=0x10.0,multifunction=on -device vfio-pci,host=0000:04:00.1,id=hostpci0.1,bus=pci.0,addr=0x10.1 -device vfio-pci,host=0000:04:00.2,id=hostpci0.2,bus=pci.0,addr=0x10.2 -device vfio-pci,host=0000:04:00.3,id=hostpci0.3,bus=pci.0,addr=0x10.3 -device qxl-vga,id=vga,max_outputs=4,bus=pcie.0,addr=0x1 -chardev socket,path=/var/run/qemu-server/106.qga,server=on,wait=off,id=qga0 -device virtio-serial,id=qga0,bus=pci.0,addr=0x8 -device virtserialport,chardev=qga0,name=org.qemu.guest_agent.0 -device virtio-serial,id=spice,bus=pci.0,addr=0x9 -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -spice tls-port=61003,addr=127.0.0.1,tls-ciphers=HIGH,seamless-migration=on -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3,free-page-reporting=on -iscsi initiator-name=iqn.1993-08.org.debian:01:777412030a4 -drive file=/dev/pve/vm-106-disk-1,if=none,id=drive-virtio0,format=raw,cache=none,aio=io_uring,detect-zeroes=on -device virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa -netdev type=tap,id=net0,ifname=tap106i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on -device virtio-net-pci,mac=6E:85:A7:EA:21:2D,netdev=net0,bus=pci.0,addr=0x12,id=net0 -netdev type=tap,id=net1,ifname=tap106i1,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on -device virtio-net-pci,mac=0E:94:03:5E:0A:01,netdev=net1,bus=pci.0,addr=0x13,id=net1 -machine type=q35+pve0
Some more info, as you can see during boot the card firmware is initialized, and the interrupt handling to enter the configuration menu of each port is working.
lsmod
shows that the driver is loaded:
And
dmesg
dont show anything out of normal: