]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/VirtioMmioDeviceLib: Add virtio 1.0 detection.
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 27 Aug 2021 13:44:54 +0000 (21:44 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 30 Aug 2021 01:05:49 +0000 (01:05 +0000)
commit08293e43da35f4979bf4a6f797ba5eb31331cdc1
tree288e16496da1c605b880eb4774c3b6d4663a7522
parent94e465e5cbb65c47d9e98f5c4c61f3a5e008ee5d
OvmfPkg/VirtioMmioDeviceLib: Add virtio 1.0 detection.

Add #defines for the Version field.  Read and store the version,
log the version found as info message.

Continue to return UNSUPPORTED for now, we need some more patches
to complete virtio 1.0 support first.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDevice.c
OvmfPkg/Library/VirtioMmioDeviceLib/VirtioMmioDevice.h