[Bug 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 9 02:44:21 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236922

--- Comment #23 from Tommy P <tommyhp2 at gmail.com> ---
Bryan,

After some more debugging, I input some missing entries in sys/conf/files.  The
kernel was able to compile successfully with the VirtIO from your repo.  After
reboot, all VirtIO devices (SCSI, NIC, memory balloon, etc) are working for
12.0-RELEASE-p12 r356482M!

Thanks again!

As for those who want the VirtIO working in your Q35 environment, I'll attach
the the needed stuff including my fix of the VirtIO's random.c so you don't
need to download from Bryan's github repo (comment #8).  I don't recommend
running in production as it's not officially committed.  Also note that this
version of the VirtIO, supporting Q35, will break netmap which you'll need to
disable in the kernel configuration prior the build process:

/usr/src/sys/dev/netmap/if_vtnet_netmap.h:224:34: error: no member named
'vtntx_shrhdr' in 'struct vtnet_txq'
                        err = sglist_append(sg, &txq->vtntx_shrhdr,
sc->vtnet_hdr_size);

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list