[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
Mon Apr 1 05:05:28 UTC 2019


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

--- Comment #4 from Tommy P <tommyhp2 at gmail.com> ---
(In reply to Kubilay Kocak from comment #2)

Thank you for the feedback.  I'm hesitant to try QEMU 4.0 since it's not
officially supported on Ubuntu (even the current 18.10):

https://packages.ubuntu.com/search?keywords=qemu

Aside from that, it still doesn't explain why the original kernel (r341666)
from the install ISO did not detect the VirtIO PCI controllers while the custom
built updated from src (r345757) did detect the VirtIO PCI controllers when the
diff comparison of src/sys/dev/virtio doesn't show any changes.  If anything,
I'd expect the custom built kernel not to detect any VirtIO PCI controllers
like the original kernel of the install.  Since the custom kernel did in fact
the detect the VirtIO PCI controllers, it lead me to believe that the drivers
are not working correctly.  To confirm that the virtio drivers are loaded, I
got this:

root at fbsd12:~ # kldload virtio
kldload: can't load virtio: module already loaded or in kernel

yet:

root at fbsd12:~ # kldstat
Id Refs Address                Size Name
 1   10 0xffffffff80200000  1099a70 kernel
 2    1 0xffffffff8129b000   372508 zfs.ko
 3    2 0xffffffff8160e000     a2e8 opensolaris.ko

when 'pciconf -lvce' shows the VirtIO PCI controllers.

I've attached the /var/log/messages file with verbose logging on boot as
requested.  As side note, I was able to install just about every guest OS
(Fedora, Ubuntu, and Windows 2008 R2 to Windows 2016) successfully utilizing
the Q35 chipset and VirtIO HDD+NIC

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


More information about the freebsd-bugs mailing list