[PATCH] vfio: add documentation for posted write argument

John Levon posted 1 patch 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250616101314.3189793-1-john.levon@nutanix.com
Maintainers: Alex Williamson <alex.williamson@redhat.com>, "Cédric Le Goater" <clg@redhat.com>
include/hw/vfio/vfio-device.h | 1 +
1 file changed, 1 insertion(+)
[PATCH] vfio: add documentation for posted write argument
Posted by John Levon 5 months ago
Signed-off-by: John Levon <john.levon@nutanix.com>
---
 include/hw/vfio/vfio-device.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/hw/vfio/vfio-device.h b/include/hw/vfio/vfio-device.h
index d45e5a68a2..abea652be2 100644
--- a/include/hw/vfio/vfio-device.h
+++ b/include/hw/vfio/vfio-device.h
@@ -240,6 +240,7 @@ struct VFIODeviceIOOps {
      * @off: offset within the region
      * @size: size in bytes to write
      * @data: buffer to write from
+     * @post: true if this is a posted write
      *
      * Returns number of bytes write on success or -errno.
      */
-- 
2.43.0
Re: [PATCH] vfio: add documentation for posted write argument
Posted by Cédric Le Goater 5 months ago
On 6/16/25 12:13, John Levon wrote:
> Signed-off-by: John Levon <john.levon@nutanix.com>
> ---
>   include/hw/vfio/vfio-device.h | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/include/hw/vfio/vfio-device.h b/include/hw/vfio/vfio-device.h
> index d45e5a68a2..abea652be2 100644
> --- a/include/hw/vfio/vfio-device.h
> +++ b/include/hw/vfio/vfio-device.h
> @@ -240,6 +240,7 @@ struct VFIODeviceIOOps {
>        * @off: offset within the region
>        * @size: size in bytes to write
>        * @data: buffer to write from
> +     * @post: true if this is a posted write
>        *
>        * Returns number of bytes write on success or -errno.
>        */


Reviewed-by: Cédric Le Goater <clg@redhat.com>


Applied to vfio-next.

Thanks,

C.