Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jan 2020 02:44:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS
Message-ID:  <bug-236922-27103-oYgw6dXPr3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236922-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236922-27103@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

--- Comment #23 from Tommy P <tommyhp2@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236922-27103-oYgw6dXPr3>