<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qemu/include/chardev, branch master</title>
<subtitle>QEMU development tree</subtitle>
<id>https://git.zx2c4.com/qemu/atom/include/chardev?h=master</id>
<link rel='self' href='https://git.zx2c4.com/qemu/atom/include/chardev?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/'/>
<updated>2024-07-23T20:34:54Z</updated>
<entry>
<title>chardev/char-fe: Document returned value on error</title>
<updated>2024-07-23T20:34:54Z</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2023-11-10T05:49:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=b07f07761d85c97d478d9df3978fcd32f8fbb163'/>
<id>urn:sha1:b07f07761d85c97d478d9df3978fcd32f8fbb163</id>
<content type='text'>
qemu_chr_fe_add_watch() and qemu_chr_fe_write[_all]()
return -1 on error. Mention it in the documentation.

Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Reviewed-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Pierrick Bouvier &lt;pierrick.bouvier@linaro.org&gt;
Message-Id: &lt;20240722160745.67904-2-philmd@linaro.org&gt;
</content>
</entry>
<entry>
<title>chardev: use bool for fe_is_open</title>
<updated>2024-01-12T13:23:48Z</updated>
<author>
<name>Alex Bennée</name>
<email>alex.bennee@linaro.org</email>
</author>
<published>2023-12-11T14:59:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=67b5595d3b333fc5bcf82ce1e3aedc217b68b99a'/>
<id>urn:sha1:67b5595d3b333fc5bcf82ce1e3aedc217b68b99a</id>
<content type='text'>
The function qemu_chr_fe_init already treats be-&gt;fe_open as a bool and
if it acts like a bool it should be one. While we are at it make the
variable name more descriptive and add kdoc decorations.

Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;20231211145959.93759-1-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>include/: spelling fixes</title>
<updated>2023-09-08T10:08:52Z</updated>
<author>
<name>Michael Tokarev</name>
<email>mjt@tls.msk.ru</email>
</author>
<published>2023-07-14T11:33:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=a1a62ced51bd33716c79719246ac969447acadb2'/>
<id>urn:sha1:a1a62ced51bd33716c79719246ac969447acadb2</id>
<content type='text'>
Signed-off-by: Michael Tokarev &lt;mjt@tls.msk.ru&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'ui-pull-request' of https://gitlab.com/marcandre.lureau/qemu into staging</title>
<updated>2023-09-06T15:16:01Z</updated>
<author>
<name>Stefan Hajnoczi</name>
<email>stefanha@redhat.com</email>
</author>
<published>2023-09-06T15:16:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=c152379422a204109f34ca2b43ecc538c7d738ae'/>
<id>urn:sha1:c152379422a204109f34ca2b43ecc538c7d738ae</id>
<content type='text'>
UI patch queue

- misc fixes and improvement
- cleanups and refactoring in ui/vc code

# -----BEGIN PGP SIGNATURE-----
#
# iQJQBAABCAA6FiEEh6m9kz+HxgbSdvYt2ujhCXWWnOUFAmT1wuYcHG1hcmNhbmRy
# ZS5sdXJlYXVAcmVkaGF0LmNvbQAKCRDa6OEJdZac5UhmD/wPCVZ/Vipmbexc8eBd
# wbI7i0zR5Hj7szU4D1MV+fvi5Y6Z7PWvPxnQOIoWbmEGuhOm5P73oRz1jlBDXGLP
# Nh1kh2RvuWILF0Vu+QjJHL5FyA0XJcl/Qhsn1tc7pYMbEOBCpPfpmWRiXrEUDc7/
# S1iSPkB2a7YYwuMW6ksPyKlsb4tjGyea/HYz1lTdw8bJxaFVXMFX35lrqz+A5ZGz
# XAk/6OyMtkMbBi8hWcd6IweYyc/DYaK8emqppQLIUenZEz7nKSWlEUIKcXpf9U4n
# 3W+BISACxnw7KbXrrZl2KJf2Bix6LRureoscZTKawnB/D5hV+g7PtEjNMUQsxjg3
# RyV9+zSPsIg5zXunrHIs1rrUtGS5SvdQbIQYqHPNdL86iuWKer+EnwA06vflweLw
# P7FZhuBNvuY3gU2sdCk5Q7My92YT5DRWjoJRHLFGNYTxPA6MYPivIu8RqsBiu+JX
# BvK1FfhG2JsR9XuuOFR968AXLfMc0hOlHfHWvORk3s/9zIpeEWmQbnGxr1sN9El8
# o+rDIkcadELuzcTJcoHCKdCzjFbLdNNKgvbcVQdw3rdp2rvQ6CZalyh+qZEihAy4
# xLVO+hUypxNhRAg/DtZilUW6cPavn0OjoH/3BgY0F0GiwvhFMntyVGN7eBdwnC7c
# sV5s4Xnafmh5xnGf0GS3UyuX9g==
# =JxZP
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 04 Sep 2023 07:43:34 EDT
# gpg:                using RSA key 87A9BD933F87C606D276F62DDAE8E10975969CE5
# gpg:                issuer "marcandre.lureau@redhat.com"
# gpg: Good signature from "Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;" [full]
# gpg:                 aka "Marc-André Lureau &lt;marcandre.lureau@gmail.com&gt;" [full]
# Primary key fingerprint: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5

* tag 'ui-pull-request' of https://gitlab.com/marcandre.lureau/qemu: (52 commits)
  ui/gtk: fix leaks found wtih fuzzing
  ui/vdagent: Unregister input handler of mouse during finalization
  ui/vdagent: call vdagent_disconnect() when agent connection is lost
  ui/dbus: implement damage regions for GL
  ui/dbus: Properly dispose touch/mouse dbus objects
  ui/vnc-enc-tight: Avoid dynamic stack allocation
  ui/vnc-enc-hextile: Use static rather than dynamic length stack array
  ui/spice-display: Avoid dynamic stack allocation
  ui/vc: change the argument for QemuTextConsole
  ui/vc: do not parse VC-specific options in Spice and GTK
  ui/vc: move text console invalidate in helper
  ui/console: minor stylistic changes
  ui/vc: skip text console resize when possible
  ui/console: fold text_console_update_cursor_timer
  ui/console: assert(surface) where appropriate
  ui/console: rename vga_ functions with qemu_console_
  ui/console: use QEMU_PIXMAN_COLOR helpers
  ui/console: declare console types in console.h
  ui/vc: use common text console surface creation
  ui/console: remove need for g_width/g_height
  ...

Signed-off-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
</content>
</entry>
<entry>
<title>ui/vc: do not parse VC-specific options in Spice and GTK</title>
<updated>2023-09-04T10:57:37Z</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2023-08-30T09:38:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=32aa1f8dee3b2e8a4606bc2836a022f1ff5e7f0c'/>
<id>urn:sha1:32aa1f8dee3b2e8a4606bc2836a022f1ff5e7f0c</id>
<content type='text'>
In commit 6f974c843c ("gtk: overwrite the console.c char driver"), I
shared the VC console parse handler with GTK. And later on in commit
d8aec9d9 ("display: add -display spice-app launching a Spice client"),
I also used it to handle spice-app VC.

This is not necessary, the VC console options (width/height/cols/rows)
are specific, and unused by tty-level GTK/Spice VC.

This is not a breaking change, as those options are still being parsed
by QAPI ChardevVC. Adjust the documentation about it.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Daniel P. Berrangé &lt;berrange@redhat.com&gt;
Message-Id: &lt;20230830093843.3531473-44-marcandre.lureau@redhat.com&gt;
</content>
</entry>
<entry>
<title>chardev/char-fe: Document FEWatchFunc typedef</title>
<updated>2023-08-31T17:47:43Z</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
<email>philmd@linaro.org</email>
</author>
<published>2023-07-05T11:21:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=b3a1090fe55669e4ce19649525745ce551232a43'/>
<id>urn:sha1:b3a1090fe55669e4ce19649525745ce551232a43</id>
<content type='text'>
Signed-off-by: Philippe Mathieu-Daudé &lt;philmd@linaro.org&gt;
Acked-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20230705133139.54419-4-philmd@linaro.org&gt;
</content>
</entry>
<entry>
<title>chardev: src buffer const for write functions</title>
<updated>2022-09-29T10:38:05Z</updated>
<author>
<name>Arwed Meyer</name>
<email>arwed.meyer@gmx.de</email>
</author>
<published>2022-09-11T18:18:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=8f9abdf586d48552273abe38cf55058f7d0c85fd'/>
<id>urn:sha1:8f9abdf586d48552273abe38cf55058f7d0c85fd</id>
<content type='text'>
Make source buffers const for char be write functions.
This allows using buffers returned by fifo as buf parameter and source buffer
should not be changed by write functions anyway.

Signed-off-by: Arwed Meyer &lt;arwed.meyer@gmx.de&gt;
Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Message-Id: &lt;20220911181840.8933-3-arwed.meyer@gmx.de&gt;
</content>
</entry>
<entry>
<title>Clean up ill-advised or unusual header guards</title>
<updated>2022-05-11T14:50:01Z</updated>
<author>
<name>Markus Armbruster</name>
<email>armbru@redhat.com</email>
</author>
<published>2022-05-06T13:49:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=9c0928045ce4b97fc59cb285b7a4b559d21e5da0'/>
<id>urn:sha1:9c0928045ce4b97fc59cb285b7a4b559d21e5da0</id>
<content type='text'>
Leading underscores are ill-advised because such identifiers are
reserved.  Trailing underscores are merely ugly.  Strip both.

Our header guards commonly end in _H.  Normalize the exceptions.

Macros should be ALL_CAPS.  Normalize the exception.

Done with scripts/clean-header-guards.pl.

include/hw/xen/interface/ and tools/virtiofsd/ left alone, because
these were imported from Xen and libfuse respectively.

Signed-off-by: Markus Armbruster &lt;armbru@redhat.com&gt;
Message-Id: &lt;20220506134911.2856099-3-armbru@redhat.com&gt;
Reviewed-by: Richard Henderson &lt;richard.henderson@linaro.org&gt;
</content>
</entry>
<entry>
<title>Replace GCC_FMT_ATTR with G_GNUC_PRINTF</title>
<updated>2022-03-22T10:40:51Z</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2022-02-20T16:39:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=9edc6313da34699ebd2bae4573ea22339b26450a'/>
<id>urn:sha1:9edc6313da34699ebd2bae4573ea22339b26450a</id>
<content type='text'>
One less qemu-specific macro. It also helps to make some headers/units
only depend on glib, and thus moved in standalone projects eventually.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Reviewed-by: Richard W.M. Jones &lt;rjones@redhat.com&gt;
</content>
</entry>
<entry>
<title>ui/dbus: add chardev backend &amp; interface</title>
<updated>2021-12-21T06:50:22Z</updated>
<author>
<name>Marc-André Lureau</name>
<email>marcandre.lureau@redhat.com</email>
</author>
<published>2021-07-22T15:43:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/qemu/commit/?id=3e301c8d7ef0259c7e19277ea93a9915b55a1c6d'/>
<id>urn:sha1:3e301c8d7ef0259c7e19277ea93a9915b55a1c6d</id>
<content type='text'>
Add a new chardev backend which allows D-Bus client to handle the
chardev stream &amp; events.

Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Acked-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
</feed>
