qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Sidhartha Reddy Kaliki <sidhartha@drut.io>
Cc: openbmc@lists.ozlabs.org, qemu-devel@nongnu.org
Subject: Re: How to communicate 2 guest machines over serial in qemu?
Date: Tue, 16 May 2023 15:48:10 +0100	[thread overview]
Message-ID: <87y1lonxdj.fsf@linaro.org> (raw)
In-Reply-To: <CADfM=uvE+DdOAVU-WZmNgiAPom0isN9OFUeky0pPqPbtFmvyRw@mail.gmail.com>


Sidhartha Reddy Kaliki <sidhartha@drut.io> writes:

> Hi,
>
> We have 2 independent devices running openbmc software on each of
> them. These devices can communicate with each other over a serial line
> using SLIP protocol. Now we would like to emulate the same using qemu.
>
> Do we have any provision to communicate 2 guest machines over a serial
> interface using SLIP protocol?

You can connect the two chardev backends to each other. One will want to
be a server, the other a client. You can use pipe, socket or network
backends to do this.

> We have tried a few options which are not helpful to solve our purpose.
> It will be really helpful if you can provide us some guidance on this.

What have you tried so far?

>
> Thanks


-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


  reply	other threads:[~2023-05-16 14:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-16 10:25 How to communicate 2 guest machines over serial in qemu? Sidhartha Reddy Kaliki
2023-05-16 14:48 ` Alex Bennée [this message]
2023-05-17 10:33   ` Sidhartha Reddy Kaliki

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=87y1lonxdj.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=openbmc@lists.ozlabs.org \
    --cc=qemu-devel@nongnu.org \
    --cc=sidhartha@drut.io \
    /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).