mirror of https://github.com/acidanthera/audk.git
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:
parent
ae12188cf8
commit
77d5fa8024
|
@ -87,7 +87,7 @@ VirtioMmioInit (
|
||||||
DEBUG ((DEBUG_INFO, "%a virtio 1.0, id %d\n", __FUNCTION__,
|
DEBUG ((DEBUG_INFO, "%a virtio 1.0, id %d\n", __FUNCTION__,
|
||||||
Device->VirtioDevice.SubSystemDeviceId));
|
Device->VirtioDevice.SubSystemDeviceId));
|
||||||
Device->VirtioDevice.Revision = VIRTIO_SPEC_REVISION (1, 0, 0);
|
Device->VirtioDevice.Revision = VIRTIO_SPEC_REVISION (1, 0, 0);
|
||||||
return EFI_UNSUPPORTED;
|
break;
|
||||||
default:
|
default:
|
||||||
return EFI_UNSUPPORTED;
|
return EFI_UNSUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue