Date: Mon, 01 Apr 2019 08:32:59 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS Message-ID: <bug-236922-227-2KM41OZi6l@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-236922-227@https.bugs.freebsd.org/bugzilla/> References: <bug-236922-227@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=3D236922 --- Comment #7 from Tommy P <tommyhp2@gmail.com> --- After reviewing the Linux code for the virtio, I'm more confident that my h= unch is correct regarding the FreeBSD virtio driver. if (pci_dev->device < 0x1040) { /* Transitional devices: use the PCI subsystem device id as * virtio device id, same as legacy driver always did. */ vp_dev->vdev.id.device =3D pci_dev->subsystem_device; } else { /* Modern devices: simply use PCI device id, but start from 0x1040. */ vp_dev->vdev.id.device =3D pci_dev->device - 0x1040; } from: https://github.com/torvalds/linux/blob/v5.0/drivers/virtio/virtio_pci_moder= n.c --=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-236922-227-2KM41OZi6l>