[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 7/9] chardev: add a note about frontend sources and
From: |
Marc-André Lureau |
Subject: |
[Qemu-devel] [PATCH 7/9] chardev: add a note about frontend sources and context switch |
Date: |
Tue, 28 Aug 2018 00:23:20 +0200 |
Signed-off-by: Marc-André Lureau <address@hidden>
---
include/chardev/char-fe.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/chardev/char-fe.h b/include/chardev/char-fe.h
index 4677a9e65a..25fe62e1cf 100644
--- a/include/chardev/char-fe.h
+++ b/include/chardev/char-fe.h
@@ -166,6 +166,9 @@ void qemu_chr_fe_printf(CharBackend *be, const char *fmt,
...)
* is active; return the #GSource's tag. If it is disconnected,
* or without associated Chardev, return 0.
*
+ * Note that you are responsible to update the front-end sources if
+ * you are switching the main context with qemu_chr_fe_set_handlers().
+ *
* Returns: the source tag
*/
guint qemu_chr_fe_add_watch(CharBackend *be, GIOCondition cond,
--
2.18.0.547.g1d89318c48
[Qemu-devel] [PATCH 8/9] char-pty: remove check for connection on write, Marc-André Lureau, 2018/08/27
[Qemu-devel] [PATCH 9/9] char-pty: remove write_lock usage, Marc-André Lureau, 2018/08/27