]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/VirtioFsDxe/Helpers.c
OvmfPkg/VirtioFsDxe: submit the FUSE_INIT request to the device
[mirror_edk2.git] / OvmfPkg / VirtioFsDxe / Helpers.c
index b4089131861445317e28256bbcadbbaf6bc34624..739b0c63cfaa4d4991093ad65c1e6a1bef3e3f8f 100644 (file)
@@ -721,7 +721,8 @@ Unmap:
                           to send.\r
 \r
   @param[in] NodeId       The inode number of the file that the request refers\r
-                          to.\r
+                          to. When Opcode is VirtioFsFuseOpInit, NodeId is\r
+                          ignored by the Virtio Filesystem device.\r
 \r
   @retval EFI_INVALID_PARAMETER  RequestSize is smaller than\r
                                  sizeof(VIRTIO_FS_FUSE_REQUEST).\r
@@ -737,7 +738,7 @@ VirtioFsFuseNewRequest (
   IN OUT VIRTIO_FS              *VirtioFs,\r
      OUT VIRTIO_FS_FUSE_REQUEST *Request,\r
   IN     UINT32                 RequestSize,\r
-  IN     UINT32                 Opcode,\r
+  IN     VIRTIO_FS_FUSE_OPCODE  Opcode,\r
   IN     UINT64                 NodeId\r
   )\r
 {\r