From: Neil McGill <nmcgill@cisco.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] virtio console users wrong port (sometimes)
Date: Tue, 15 Dec 2015 13:54:43 -0500 [thread overview]
Message-ID: <567061F3.7060009@cisco.com> (raw)
Has anyone ever seen an issue with qemu where the consoles wind up
mixed up ? i.e hvc0 appears on vserial3, hvc1 on vserial0 as a
random example .
I've managed to reproduce this on qemu 2.0 and 1.0 on ubuntu LTS 14/12
and it happens 1 in every 16 times or so. However, I build qemu from
source (tried 2.4 and 1.0.1) to try and debug the problem is gone 8)
So just wondering if this has been seen before ? I'm very keen to
debug this if I can as it's driving me nuts due to the infrequence 8)
I don't *think* it's a kernel issue as the issue does seem gone when
I build my own qemu (over 30 runs with no issue)
here's the config snippet:
-device virtio-serial,id=vserial0 \
-chardev socket,host=0.0.0.0,port=13540,telnet,server,nowait,id=vserial0 \
-device virtconsole,chardev=vserial0 \
-device virtio-serial,id=vserial1 \
-chardev socket,host=0.0.0.0,port=12804,telnet,server,nowait,id=vserial1 \
-device virtconsole,chardev=vserial1 \
-device virtio-serial,id=vserial2 \
-chardev socket,host=0.0.0.0,port=18664,telnet,server,nowait,id=vserial2 \
-device virtconsole,chardev=vserial2 \
-device virtio-serial,id=vserial3 \
-chardev socket,host=0.0.0.0,port=12880,telnet,server,nowait,id=vserial3 \
-device virtconsole,chardev=vserial3 \
tx
neil
reply other threads:[~2015-12-15 18:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=567061F3.7060009@cisco.com \
--to=nmcgill@cisco.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).