]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Include/Library/VirtioLib.h
OvmfPkg/VirtioLib: alloc VRING buffer with AllocateSharedPages()
[mirror_edk2.git] / OvmfPkg / Include / Library / VirtioLib.h
index 6a422deba2d97d51ac05ab6dbe7754d908cd7fd8..547b4ee497b85b2168ebec8dce25db895f2ff0ad 100644 (file)
@@ -42,9 +42,8 @@
 \r
   @param[out] Ring              The virtio ring to set up.\r
 \r
-  @retval EFI_OUT_OF_RESOURCES  AllocatePages() failed to allocate contiguous\r
-                                pages for the requested QueueSize. Fields of\r
-                                Ring have indeterminate value.\r
+  @return                       Status codes propagated from\r
+                                VirtIo->AllocateSharedPages().\r
 \r
   @retval EFI_SUCCESS           Allocation and setup successful. Ring->Base\r
                                 (and nothing else) is responsible for\r