Date: Sun, 12 Jan 2020 21:56:13 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 241774] FreeBSD 11.3 & 12.0 has broken SCSI & Networking on KVM/QEMU Q35 with OVMF Message-ID: <bug-241774-27103-mVALwjPCFY@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-241774-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-241774-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=3D241774 --- Comment #33 from John Hartley <drum@graphica.com.au> --- (In reply to Vincenzo Maffione from comment #31) Hi Vincenzo, find following virsh dump of 11.3 test VM. My 12.0 test VM is essentially the same. Both find network interfaces with disabled (via kernel config sys/amd64/conf/GENERIC2). You will notice that i have 3 NICs on VM (for em0, vmx0 & re0 in FreeBSD). I have removed VirtoIO NIC as we know that there is seperate issue with this that Tommy T and Brian V has been dealing with. NOTE: I am managing QEMU / KVM using "Virtual Machine Manager" UI. # cat newt-qemu-02.xml <domain type=3D'kvm' id=3D'56'> <name>newt-dev-freebsd-11.3</name> <uuid>01d93f61-8527-42f0-b79d-fda37cf87f71</uuid> <metadata> <libosinfo:libosinfo xmlns:libosinfo=3D"http://libosinfo.org/xmlns/libvirt/domain/1.0"> <libosinfo:os id=3D"http://freebsd.org/freebsd/11.2"/> </libosinfo:libosinfo> </metadata> <memory unit=3D'KiB'>4194304</memory> <currentMemory unit=3D'KiB'>4194304</currentMemory> <vcpu placement=3D'static'>2</vcpu> <resource> <partition>/machine</partition> </resource> <os> <type arch=3D'x86_64' machine=3D'pc-q35-4.0'>hvm</type> <loader readonly=3D'yes' type=3D'pflash'>/usr/share/OVMF/OVMF_CODE.fd</= loader> <nvram>/home/XXX/DDD/newt.dev.freebsd/OVMF_VARS.fd</nvram> </os> <features> <acpi/> <apic/> <vmport state=3D'off'/> </features> <cpu mode=3D'custom' match=3D'exact' check=3D'full'> <model fallback=3D'forbid'>Broadwell-IBRS</model> <vendor>Intel</vendor> <feature policy=3D'require' name=3D'vme'/> <feature policy=3D'require' name=3D'ss'/> <feature policy=3D'require' name=3D'vmx'/> <feature policy=3D'require' name=3D'f16c'/> <feature policy=3D'require' name=3D'rdrand'/> <feature policy=3D'require' name=3D'hypervisor'/> <feature policy=3D'require' name=3D'arat'/> <feature policy=3D'require' name=3D'tsc_adjust'/> <feature policy=3D'require' name=3D'umip'/> <feature policy=3D'require' name=3D'md-clear'/> <feature policy=3D'require' name=3D'stibp'/> <feature policy=3D'require' name=3D'arch-capabilities'/> <feature policy=3D'require' name=3D'ssbd'/> <feature policy=3D'require' name=3D'xsaveopt'/> <feature policy=3D'require' name=3D'pdpe1gb'/> <feature policy=3D'require' name=3D'abm'/> <feature policy=3D'disable' name=3D'skip-l1dfl-vmentry'/> </cpu> <clock offset=3D'utc'> <timer name=3D'rtc' tickpolicy=3D'catchup'/> <timer name=3D'pit' tickpolicy=3D'delay'/> <timer name=3D'hpet' present=3D'no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <pm> <suspend-to-mem enabled=3D'no'/> <suspend-to-disk enabled=3D'no'/> </pm> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type=3D'file' device=3D'cdrom'> <driver name=3D'qemu'/> <target dev=3D'sdb' bus=3D'sata'/> <readonly/> <boot order=3D'1'/> <alias name=3D'sata0-0-1'/> <address type=3D'drive' controller=3D'0' bus=3D'0' target=3D'0' unit= =3D'1'/> </disk> <disk type=3D'file' device=3D'disk'> <driver name=3D'qemu' type=3D'qcow2'/> <source file=3D'/home/XXX/DDD/newt.dev.freebsd/newt-hd1-01.qcow2'/> <backingStore/> <target dev=3D'sdc' bus=3D'sata'/> <boot order=3D'2'/> <alias name=3D'sata0-0-2'/> <address type=3D'drive' controller=3D'0' bus=3D'0' target=3D'0' unit= =3D'2'/> </disk> <disk type=3D'file' device=3D'disk'> <driver name=3D'qemu' type=3D'qcow2'/> <source file=3D'/home/XXX/DDD/test.freebsd/test-hd1-01.qcow2'/> <backingStore/> <target dev=3D'sdd' bus=3D'sata'/> <alias name=3D'sata0-0-3'/> <address type=3D'drive' controller=3D'0' bus=3D'0' target=3D'0' unit= =3D'3'/> </disk> <controller type=3D'usb' index=3D'0' model=3D'ich9-ehci1'> <alias name=3D'usb'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x1d' function=3D'0x7'/> </controller> <controller type=3D'usb' index=3D'0' model=3D'ich9-uhci1'> <alias name=3D'usb'/> <master startport=3D'0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x1d' fu= nction=3D'0x0' multifunction=3D'on'/> </controller> <controller type=3D'usb' index=3D'0' model=3D'ich9-uhci2'> <alias name=3D'usb'/> <master startport=3D'2'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x1d' function=3D'0x1'/> </controller> <controller type=3D'usb' index=3D'0' model=3D'ich9-uhci3'> <alias name=3D'usb'/> <master startport=3D'4'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x1d' function=3D'0x2'/> </controller> <controller type=3D'sata' index=3D'0'> <alias name=3D'ide'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x1f' function=3D'0x2'/> </controller> <controller type=3D'pci' index=3D'0' model=3D'pcie-root'> <alias name=3D'pcie.0'/> </controller> <controller type=3D'pci' index=3D'1' model=3D'pcie-root-port'> <model name=3D'pcie-root-port'/> <target chassis=3D'1' port=3D'0x10'/> <alias name=3D'pci.1'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02' fu= nction=3D'0x0' multifunction=3D'on'/> </controller> <controller type=3D'pci' index=3D'2' model=3D'pcie-to-pci-bridge'> <model name=3D'pcie-pci-bridge'/> <alias name=3D'pci.2'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x01' slot=3D'0x00' function=3D'0x0'/> </controller> <controller type=3D'pci' index=3D'3' model=3D'pcie-root-port'> <model name=3D'pcie-root-port'/> <target chassis=3D'3' port=3D'0x11'/> <alias name=3D'pci.3'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02' function=3D'0x1'/> </controller> <controller type=3D'pci' index=3D'4' model=3D'pcie-root-port'> <model name=3D'pcie-root-port'/> <target chassis=3D'4' port=3D'0x12'/> <alias name=3D'pci.4'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02' function=3D'0x2'/> </controller> <controller type=3D'pci' index=3D'5' model=3D'pcie-root-port'> <model name=3D'pcie-root-port'/> <target chassis=3D'5' port=3D'0x13'/> <alias name=3D'pci.5'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02' function=3D'0x3'/> </controller> <controller type=3D'pci' index=3D'6' model=3D'pcie-root-port'> <model name=3D'pcie-root-port'/> <target chassis=3D'6' port=3D'0x14'/> <alias name=3D'pci.6'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02' function=3D'0x4'/> </controller> <controller type=3D'virtio-serial' index=3D'0'> <alias name=3D'virtio-serial0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x03' slot=3D'0x00' function=3D'0x0'/> </controller> <interface type=3D'bridge'> <mac address=3D'52:54:00:4e:50:91'/> <source bridge=3D'br90'/> <target dev=3D'vnet31'/> <model type=3D'e1000'/> <alias name=3D'net0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x02' slot=3D'0x01' function=3D'0x0'/> </interface> <interface type=3D'bridge'> <mac address=3D'52:54:00:fb:be:74'/> <source bridge=3D'br90'/> <target dev=3D'vnet32'/> <model type=3D'vmxnet3'/> <alias name=3D'net1'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x02' slot=3D'0x02' function=3D'0x0'/> </interface> <interface type=3D'bridge'> <mac address=3D'52:54:00:b9:0c:12'/> <source bridge=3D'br90'/> <target dev=3D'vnet33'/> <model type=3D'rtl8139'/> <alias name=3D'net2'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x02' slot=3D'0x03' function=3D'0x0'/> </interface> <serial type=3D'pty'> <source path=3D'/dev/pts/28'/> <target type=3D'isa-serial' port=3D'0'> <model name=3D'isa-serial'/> </target> <alias name=3D'serial0'/> </serial> <console type=3D'pty' tty=3D'/dev/pts/28'> <source path=3D'/dev/pts/28'/> <target type=3D'serial' port=3D'0'/> <alias name=3D'serial0'/> </console> <channel type=3D'spicevmc'> <target type=3D'virtio' name=3D'com.redhat.spice.0' state=3D'disconne= cted'/> <alias name=3D'channel0'/> <address type=3D'virtio-serial' controller=3D'0' bus=3D'0' port=3D'1'= /> </channel> <input type=3D'keyboard' bus=3D'usb'> <alias name=3D'input0'/> <address type=3D'usb' bus=3D'0' port=3D'1'/> </input> <input type=3D'mouse' bus=3D'ps2'> <alias name=3D'input1'/> </input> <input type=3D'keyboard' bus=3D'ps2'> <alias name=3D'input2'/> </input> <graphics type=3D'spice' port=3D'5932' autoport=3D'yes' listen=3D'127.0= .0.1'> <listen type=3D'address' address=3D'127.0.0.1'/> <image compression=3D'off'/> </graphics> <video> <model type=3D'qxl' ram=3D'65536' vram=3D'65536' vgamem=3D'16384' hea= ds=3D'1' primary=3D'yes'/> <alias name=3D'video0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x01' function=3D'0x0'/> </video> <redirdev bus=3D'usb' type=3D'spicevmc'> <alias name=3D'redir0'/> <address type=3D'usb' bus=3D'0' port=3D'2'/> </redirdev> <redirdev bus=3D'usb' type=3D'spicevmc'> <alias name=3D'redir1'/> <address type=3D'usb' bus=3D'0' port=3D'3'/> </redirdev> <memballoon model=3D'virtio'> <alias name=3D'balloon0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x04' slot=3D'0x00' function=3D'0x0'/> </memballoon> </devices> <seclabel type=3D'dynamic' model=3D'apparmor' relabel=3D'yes'> <label>libvirt-01d93f61-8527-42f0-b79d-fda37cf87f71</label> <imagelabel>libvirt-01d93f61-8527-42f0-b79d-fda37cf87f71</imagelabel> </seclabel> <seclabel type=3D'dynamic' model=3D'dac' relabel=3D'yes'> <label>+64055:+106</label> <imagelabel>+64055:+106</imagelabel> </seclabel> </domain> Tommy T and other are now also able to reproduced the with/without netmap a= nd NIC detection issue. Thanks again for assistance. Cheers, John Hartley. --=20 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-241774-27103-mVALwjPCFY>