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/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236922

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

PCI-E bus: -device virtio-serial-pci,id=3Dvirtio-serial0,bus=3Dpci.1,addr=
=3D0x0

PCI bus: -device
virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x6,drive=3Ddrive-virtio-disk0=
,id=3Dvirtio-disk0,bootindex=3D1=20

Note the bus=3Dpci.1 vs bus=3Dpci.0.  If I'm correct, the pci.1 (PCI_ABI_VE=
RSION)
configure that device is connected to the PCI-E bus instead PCI (pci.0), wh=
ich
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

--=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-27103-k1n5uLUs43>