OvmfPkg/VirtioMmioDeviceLib: enable virtio 1.0

Now with everything in place for virtio 1.0 devices we can let
VirtioMmioInit() return SUCCESS.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
Gerd Hoffmann 2021-08-27 21:44:59 +08:00 committed by mergify[bot]
parent ae12188cf8
commit 77d5fa8024
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ VirtioMmioInit (
DEBUG ((DEBUG_INFO, "%a virtio 1.0, id %d\n", __FUNCTION__,
Device->VirtioDevice.SubSystemDeviceId));
Device->VirtioDevice.Revision = VIRTIO_SPEC_REVISION (1, 0, 0);
return EFI_UNSUPPORTED;
break;
default:
return EFI_UNSUPPORTED;
}