[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
Tue Jan 7 00:53:54 UTC 2020


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

--- Comment #19 from Tommy P <tommyhp2 at gmail.com> ---
More specific VM's configuration:

PCI-E bus: -device virtio-serial-pci,id=virtio-serial0,bus=pci.1,addr=0x0

PCI bus: -device
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 

Note the bus=pci.1 vs bus=pci.0.  If I'm correct, the pci.1 (PCI_ABI_VERSION)
configure that device is connected to the PCI-E bus instead PCI (pci.0), which
utilize different ID as per /usr/src/sys/dev/virtio/pci/virtio_pci.h:

/* VirtIO PCI vendor/device ID. */
#define VIRTIO_PCI_VENDORID     0x1AF4
#define VIRTIO_PCI_DEVICEID_MIN 0x1000
#define VIRTIO_PCI_DEVICEID_MAX 0x103F

/* VirtIO ABI version, this must match exactly. */
#define VIRTIO_PCI_ABI_VERSION  0

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


More information about the freebsd-virtualization mailing list