]> 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)
committerMark Johnston <markj@FreeBSD.org>
Wed, 26 May 2021 20:32:40 +0000 (16:32 -0400)
commit61acb3179a90a93ecb2fe9230986069712f918df
treee3a83f08af55222e0ef5ddcd8e466357d7a4d4b7
parent6fe25201ea624180130c08590e0566fc9e238570
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.

Approved by: so
Security: EN-21:15.virtio
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)
(cherry picked from commit 2e107638eac2a721bc024314ae79d4688edfc130)
sys/dev/virtio/pci/virtio_pci_legacy.c