openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Abhishek Singh Dagur <abhishek@drut.io>
To: openbmc@lists.ozlabs.org
Cc: qemu-devel@nongnu.org
Subject: Using QEMU how to redirect serial /dev/ttyS2 output of guest machine to host machine.
Date: Fri, 17 Mar 2023 18:43:06 +0530	[thread overview]
Message-ID: <CAJ1un7j0FNpYaaviQxoKQN4O+C8RejqA918CdBamPySKyAEJUQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 492 bytes --]

Hi all,

We are using obmc-phosphor-image on an ast2500 board which is trying to
communicate with other devices over serial port /dev/ttyS2.
As we are trying to emulate the machine on qemu we need to redirect the
request to the host machine so that it can handle this request and return
appropriately.
We tried using QEMU options like -serial ,-chardev but still not the
concrete way we get to do it.

It will be very helpful if you can provide us some guidance on this.

Thank you,
Abhishek

[-- Attachment #2: Type: text/html, Size: 620 bytes --]

             reply	other threads:[~2023-03-22  0:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-17 13:13 Abhishek Singh Dagur [this message]
2023-03-17 16:06 ` Using QEMU how to redirect serial /dev/ttyS2 output of guest machine to host machine Alex Bennée
2023-03-17 17:24   ` Cédric Le Goater
2023-03-17 17:40     ` Abhishek Singh Dagur

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ1un7j0FNpYaaviQxoKQN4O+C8RejqA918CdBamPySKyAEJUQ@mail.gmail.com \
    --to=abhishek@drut.io \
    --cc=openbmc@lists.ozlabs.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).