[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 4/6] chardev: add a note about frontend sources a
From: |
Marc-André Lureau |
Subject: |
[Qemu-devel] [PATCH v2 4/6] chardev: add a note about frontend sources and context switch |
Date: |
Wed, 6 Feb 2019 18:43:26 +0100 |
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 54f0d61d32..2211913734 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.20.1.519.g8feddda32c
[Qemu-devel] [PATCH v2 6/6] char-pty: remove write_lock usage, Marc-André Lureau, 2019/02/06
[Qemu-devel] [PATCH v2 1/6] char: update the mux handlers in class callback, Marc-André Lureau, 2019/02/06
Re: [Qemu-devel] [PATCH v2 0/6] chardev: various cleanups and improvements (resend), Paolo Bonzini, 2019/02/13