https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236922
--- Comment #39 from Tommy P <tommy...@gmail.com> --- Created attachment 210728 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=210728&action=edit VirtIO to support Q35 backported for FreeBSD 11.x -------------------------------------------------- Thank you Bryan for your help with getting past (CK_S)TAILQ_FOREACH compile errors! I greatly appreciate it! -------------------------------------------------- root@fbsd11-ovmf:~ # egrep -i 'sata|scsi|mass stor|virtio|sym0|em0|vtnet' /var/log/messages | grep 'Jan 13' Jan 13 22:10:55 fbsd11-ovmf kernel: vtpcim0: <VirtIO PCI (modern) Network adapter> mem 0x98e00000-0x98e00fff,0x800000000-0x800003fff irq 22 at device 0.0 on pci1 Jan 13 22:10:55 fbsd11-ovmf kernel: vtnet0: <VirtIO Network Adapter> on vtpcim0 Jan 13 22:10:55 fbsd11-ovmf kernel: vtnet0: Ethernet address: 52:54:00:a9:08:fb Jan 13 22:10:55 fbsd11-ovmf kernel: sym0: <895a> port 0xb000-0xb0ff mem 0x98c02000-0x98c023ff,0x98c00000-0x98c01fff irq 22 at device 0.0 on pci2 Jan 13 22:10:55 fbsd11-ovmf kernel: sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking Jan 13 22:10:55 fbsd11-ovmf kernel: vtpcim1: <VirtIO PCI (modern) SCSI adapter> mem 0x98a00000-0x98a00fff,0x800100000-0x800103fff irq 22 at device 0.0 on pci3 Jan 13 22:10:55 fbsd11-ovmf kernel: vtscsi0: <VirtIO SCSI Adapter> on vtpcim1 Jan 13 22:10:55 fbsd11-ovmf kernel: vtpcim2: <VirtIO PCI (modern) Console adapter> mem 0x98800000-0x98800fff,0x800200000-0x800203fff irq 22 at device 0.0 on pci4 Jan 13 22:10:55 fbsd11-ovmf kernel: vtpcim3: <VirtIO PCI (modern) Balloon adapter> mem 0x800300000-0x800303fff irq 22 at device 0.0 on pci5 Jan 13 22:10:55 fbsd11-ovmf kernel: vtballoon0: <VirtIO Balloon Adapter> on vtpcim3 Jan 13 22:10:55 fbsd11-ovmf kernel: vtpcim4: <VirtIO PCI (modern) Block adapter> mem 0x98400000-0x98400fff,0x800400000-0x800403fff irq 22 at device 0.0 on pci6 Jan 13 22:10:55 fbsd11-ovmf kernel: vtblk0: <VirtIO Block Adapter> on vtpcim4 Jan 13 22:10:55 fbsd11-ovmf kernel: em0: <Intel(R) PRO/1000 Legacy Network Connection 1.1.0> port 0x6000-0x603f mem 0x98000000-0x9801ffff irq 21 at device 1.0 on pci8 Jan 13 22:10:55 fbsd11-ovmf kernel: em0: Ethernet address: 52:54:00:4e:d4:8f Jan 13 22:10:55 fbsd11-ovmf kernel: ahci0: <Intel ICH9 AHCI SATA controller> port 0xc240-0xc25f mem 0x99002000-0x99002fff irq 16 at device 31.2 on pci0 Jan 13 22:10:55 fbsd11-ovmf kernel: ada0: <QEMU HARDDISK 2.5+> ATA-7 SATA device Jan 13 22:10:55 fbsd11-ovmf kernel: ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) Jan 13 22:10:55 fbsd11-ovmf kernel: pass0: <QEMU QEMU DVD-ROM 2.5+> Removable CD-ROM SCSI device Jan 13 22:10:55 fbsd11-ovmf kernel: pass0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) Jan 13 22:10:55 fbsd11-ovmf kernel: em0: link state changed to UP root@fbsd11-ovmf:~ # ls /dev/{ada,da,vtbd}* /dev/ada0 /dev/ada0p1 /dev/ada0p2 /dev/vtbd0 /dev/vtbd0p1 /dev/vtbd0p2 root@fbsd11-ovmf:~ # ifconfig vtnet0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=4c07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,TXCSUM_IPV6> ether 52:54:00:a9:08:fb hwaddr 52:54:00:a9:08:fb nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: Ethernet autoselect (10Gbase-T <full-duplex>) status: active em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC> ether 52:54:00:4e:d4:8f hwaddr 52:54:00:4e:d4:8f inet ... netmask 0xffffff00 broadcast ...255 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: Ethernet autoselect (1000baseT <full-duplex>) status: active lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> groups: lo root@fbsd11-ovmf:~ # uname -a FreeBSD fbsd11-ovmf 11.3-RELEASE-p5 FreeBSD 11.3-RELEASE-p5 #0 r356701M: Mon Jan 13 22:08:55 PST 2020 -------------------------------------------------- The above is from OVMF + Q35 VM. Should also work w/o OVMF. This all inclusive (netmap + updates in stable/12). 1) cd /usr/src 2) tar -xJvf <path/to/>virtio_11.xz 3) patch < sys_conf_files_v11.2.patch 4) make kernel 5) reboot I'll update the patches as soon as netmap is fixed for PCI-e bus. Please let me know if you have any issues. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"