Searched hist:"005 b6d511f23e0c2b69b4c7353defaa48c24853d" (Results 1 – 3 of 3) sorted by relevance
/qemu/chardev/ |
H A D | chardev-internal.h | 005b6d511f23e0c2b69b4c7353defaa48c24853d Mon Oct 14 15:24:06 UTC 2024 Roman Penyaev <r.peniaev@gmail.com> chardev/mux: switch mux frontends management to bitset
Frontends can be attached and detached during run-time (although detach is not implemented, but will follow). Counter variable of muxes is not enough for proper attach/detach management, so this patch implements bitset: if bit is set for the `mux_bitset` variable, then frontend device can be found in the `backend` array (yes, huge confusion with backend and frontends names).
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-7-r.peniaev@gmail.com>
|
H A D | char-mux.c | 005b6d511f23e0c2b69b4c7353defaa48c24853d Mon Oct 14 15:24:06 UTC 2024 Roman Penyaev <r.peniaev@gmail.com> chardev/mux: switch mux frontends management to bitset
Frontends can be attached and detached during run-time (although detach is not implemented, but will follow). Counter variable of muxes is not enough for proper attach/detach management, so this patch implements bitset: if bit is set for the `mux_bitset` variable, then frontend device can be found in the `backend` array (yes, huge confusion with backend and frontends names).
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-7-r.peniaev@gmail.com>
|
H A D | char.c | 005b6d511f23e0c2b69b4c7353defaa48c24853d Mon Oct 14 15:24:06 UTC 2024 Roman Penyaev <r.peniaev@gmail.com> chardev/mux: switch mux frontends management to bitset
Frontends can be attached and detached during run-time (although detach is not implemented, but will follow). Counter variable of muxes is not enough for proper attach/detach management, so this patch implements bitset: if bit is set for the `mux_bitset` variable, then frontend device can be found in the `backend` array (yes, huge confusion with backend and frontends names).
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-7-r.peniaev@gmail.com>
|