qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Yang Jin <andysycrane@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] CAN device
Date: Sun, 30 Jun 2013 14:37:29 +0200	[thread overview]
Message-ID: <51D02689.1040802@suse.de> (raw)
In-Reply-To: <CAPmXEm=NWNPYMzHdQ3-0iG3a-gP589-4aWnM60cfOGDyfxtpKw@mail.gmail.com>

Hi,

Am 30.06.2013 14:25, schrieb Yang Jin:
> Thanks, Andreas. It really help me a lot.
> 
> When I man qemu, I found "path specifies the name of the serial device
> to open". Does that mean I should have a real serial device or I cannot
> test it? Can I test it just in a virtual environment? When I try to open
> a /dev/ttyS0 through "cat /dev/ttyS0", error "Input/output error".

-chardev serial is for a serial device. If you cannot or don't want to
use one, just use a different -chardev parameter. The man page I pointed
you to documents quite a few: null, file, pipe, stdio and many more. I
cannot guess which one is best for what you are trying to do. ;)

Regards,
Andreas

P.S. Please avoid top-posting on the mailing list.

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

      reply	other threads:[~2013-06-30 12:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-28 12:19 [Qemu-devel] CAN device Yang Jin
2013-06-28 12:51 ` Andreas Färber
2013-06-30 12:25   ` Yang Jin
2013-06-30 12:37     ` Andreas Färber [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=51D02689.1040802@suse.de \
    --to=afaerber@suse.de \
    --cc=andysycrane@gmail.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).