]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
virtio_pci_legacy: Allow memory space for configuration
authorKa Ho Ng <khng@FreeBSD.org>
Sat, 20 Mar 2021 07:40:55 +0000 (15:40 +0800)
committerKa Ho Ng <khng@FreeBSD.org>
Sat, 3 Apr 2021 06:09:50 +0000 (14:09 +0800)
commit2e107638eac2a721bc024314ae79d4688edfc130
treec3e716c90f955b5fc7cfe07bf1f4521a56377780
parent98740ead97c60caca1d7cb3e996108c75f499beb
virtio_pci_legacy: Allow memory space for configuration

For guests running under some kind of VMMs, configuration structure is
available in memory space but not I/O space.

Reported by: Yuan Rui <number201724@me.com>
Reviewed by: rpokala, bryanv, jhb
Approved by: philip (mentor)
Differential Revision: https://reviews.freebsd.org/D28818

(cherry picked from commit cf5d1112408ddef3fdff8212599727c49ba90fa4)
sys/dev/virtio/pci/virtio_pci_legacy.c