From: Tim Sander <tim@krieglstein.org>
To: qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] qemu_chr_open_pipe
Date: Thu, 28 Apr 2016 10:57:07 +0200 [thread overview]
Message-ID: <1778727.U9pNaL8rhb@dabox> (raw)
In-Reply-To: <5027197.oRSkzRYNCA@dabox>
Hi
> I would like to try to connect some serial hardware simulation to a standard
> serial port within qemu. Everything should run within qemu.
I found the answer and just to make the people happy using search engines
here is the answer:
There are backends which already implement serial hardware. They can be found
under backends/. Especially msmouse.c and baum.c realize serial hardware which
give a nice example how to connect to a qemu system.
qapi-schema.json needs to be adaped similar to msmouse. And i guess the
function qemu_chr_parse_compat in qemu-char.c needs also a new strcmp matching
the new device name. qemu-options.hx also seems to need some changes.
Currently unclear is to me is how the argument parsing callback works and how
serial_hds should be replaced by properties? Any pointers are welcome.
Best regards
Tim
prev parent reply other threads:[~2016-04-28 8:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-19 16:12 [Qemu-devel] qemu_chr_open_pipe Tim Sander
2016-04-28 8:57 ` Tim Sander [this message]
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=1778727.U9pNaL8rhb@dabox \
--to=tim@krieglstein.org \
--cc=pbonzini@redhat.com \
--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).