diff mbox series

ui/dbus: clarify the kind of win32 handle that is shared

Message ID 20250114104803.2612599-1-marcandre.lureau@redhat.com (mailing list archive)
State New
Headers show
Series ui/dbus: clarify the kind of win32 handle that is shared | expand

Commit Message

Marc-André Lureau Jan. 14, 2025, 10:48 a.m. UTC
From: Marc-André Lureau <marcandre.lureau@redhat.com>

"-display dbus" hands over a file mapping handle to the peer
process (not a file handle).

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 ui/dbus-display1.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/ui/dbus-display1.xml b/ui/dbus-display1.xml
index e70f2848b7..d702253431 100644
--- a/ui/dbus-display1.xml
+++ b/ui/dbus-display1.xml
@@ -527,14 +527,14 @@ 
   <interface name="org.qemu.Display1.Listener.Win32.Map">
     <!--
         ScanoutMap:
-        @handle: the shared map handle value.
+        @handle: the shared file mapping handle value (not a file handle)
         @offset: mapping offset.
         @width: display width, in pixels.
         @height: display height, in pixels.
         @stride: stride, in bytes.
         @pixman_format: image format (ex: ``PIXMAN_X8R8G8B8``).
 
-        Resize and update the display content with a shared map.
+        Resize and update the display content with a shared file mapping object.
     -->
     <method name="ScanoutMap">
       <arg type="t" name="handle" direction="in"/>