[Bug 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 22 09:47:49 UTC 2019


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

--- Comment #6 from John Hartley <drum at graphica.com.au> ---
Matts and others,

I have a number of BSD related VMs running on KVM / QEMU / libvirt:

MacOS (up to Catalina) with Clover & OVMF UEFI with NIC == e1000-82545em - runs
well
pfsense (2.4.3) Router with Q35 / OVMF with NIC == e1000 - runs well

I have also tried: rtl8130 (Realtek) with 12.0 / OVMF - not working

Given that MacOS works with Clover + OVMF, will test with Clover and see if
this is able to aid getting NI?C going. MacOS / Darwin is BSD based so this is
not so far fetched as it might initially seem.

I resorted to using VMWare for BSD testing at the moment as this works with
11.3 with VMWare VMX specifies: e1000 NIC and lsisas SCSI disk (which is
equivalent to KVM/QEMU lsisas1068 SCSI).

In past I have been able to take VMWare vmdk images and run:
  > qemu-img convert -f vmdk -O qcow2 input.vmdk output.qcow2

And then by using e1000 & lsisas1068 they are bootable within KVM / QEMU.

I believe that the NIC issues is more significant than the Disk one, as if SATA
breaks then it will get instant focus, while NIC's don't get picked up until
latter in testing.

Given that BSD has strong source code culture the solution to my mind is to
creates a ports package that be build and installed from within the host as
kernel loadable module. So pending getting fix in based could get solution
going independent of this.

It might also be worth looking at VMTools for FreeBSD as I believe this is
available as source code.

I will report back once I have done further testing.

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


More information about the freebsd-virtualization mailing list