On 7/13/2026 1:07 PM, Matheus Tavares Bernardino wrote:
> From: Brian Cain <[email protected]>
> 
> Add qemu_semihosting_console_has_chardev() to query whether the
> semihosting console is backed by a chardev, and console_guestfd()
> to initialize a guest file descriptor as GuestFDConsole.
> 
> These APIs enable callers to route semihosting I/O through a chardev
> rather than directly to host stdio.
> 
> Signed-off-by: Brian Cain <[email protected]>
> ---
>  include/semihosting/console.h | 9 +++++++++
>  include/semihosting/guestfd.h | 9 +++++++++
>  semihosting/console.c         | 5 +++++
>  semihosting/guestfd.c         | 8 ++++++++
>  4 files changed, 31 insertions(+)
> 

Reviewed-by: Pierrick Bouvier <[email protected]>

Reply via email to