Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Jan 2020 00:53:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 236922] Virtio fails as QEMU-KVM guest with Q35 chipset on Ubuntu 18.04.2 LTS
Message-ID:  <bug-236922-27103-k1n5uLUs43@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236922-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236922-27103@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #19 from Tommy P <tommyhp2@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236922-27103-k1n5uLUs43>