]> git.ipfire.org Git - thirdparty/qemu.git/commit
chardev/mux: introduce `mux_chr_attach_frontend() call
authorRoman Penyaev <r.peniaev@gmail.com>
Mon, 14 Oct 2024 15:24:05 +0000 (17:24 +0200)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 15 Oct 2024 08:26:01 +0000 (12:26 +0400)
commit709a4cabfb9a425118d37855fcc661559a1610bb
tree3af4e9edf4a46db87d074f5ae6c72e6f5f096ae4
parentc64f0bc1ce2f1d117d581b3445fe8286acd413d0
chardev/mux: introduce `mux_chr_attach_frontend() call

Move away logic which attaches frontend device to a mux
from `char-fe.c` to actual `char-mux.c` implementation
and make it a separate function.

No logic changes are made.

Signed-off-by: Roman Penyaev <r.peniaev@gmail.com>
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: qemu-devel@nongnu.org
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20241014152408.427700-6-r.peniaev@gmail.com>
chardev/char-fe.c
chardev/char-mux.c
chardev/chardev-internal.h