Added Virtio non-discoverable device case. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Daniil Egranov <daniil.egra...@arm.com> --- .../NonDiscoverableDeviceRegistrationLib.c | 3 +++ .../NonDiscoverableDeviceRegistrationLib.inf | 1 + 2 files changed, 4 insertions(+)
diff --git a/MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.c b/MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.c index 536dfc7297..2cc3da7772 100644 --- a/MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.c +++ b/MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.c @@ -67,6 +67,9 @@ GetGuidFromType ( case NonDiscoverableDeviceTypeXhci: return &gEdkiiNonDiscoverableXhciDeviceGuid; + case NonDiscoverableDeviceTypeVirtio: + return &gEdkiiNonDiscoverableVirtioDeviceGuid; + default: return NULL; } diff --git a/MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf b/MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf index 763f9a0a6f..8ebf869d1d 100644 --- a/MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf +++ b/MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf @@ -46,3 +46,4 @@ gEdkiiNonDiscoverableUfsDeviceGuid ## CONSUMES ## GUID gEdkiiNonDiscoverableUhciDeviceGuid ## CONSUMES ## GUID gEdkiiNonDiscoverableXhciDeviceGuid ## CONSUMES ## GUID + gEdkiiNonDiscoverableVirtioDeviceGuid ## CONSUMES ## GUID -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel