]> 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, 20 Mar 2021 07:45:34 +0000 (15:45 +0800)
commitcf5d1112408ddef3fdff8212599727c49ba90fa4
tree1db88a24fdf64890e7f8a1c8ffd01f831a7d39b6
parentfaf9a4e9142a02c289ee543a6091bd4b925c6a63
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>
MFC after: 2 weeks
Reviewed by: rpokala, bryanv, jhb
Approved by: philip (mentor)
Differential Revision: https://reviews.freebsd.org/D28818
sys/dev/virtio/pci/virtio_pci_legacy.c