qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] virtio console users wrong port (sometimes)


From: Neil McGill
Subject: [Qemu-devel] virtio console users wrong port (sometimes)
Date: Tue, 15 Dec 2015 13:54:43 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:17.0) Gecko/20130801 Thunderbird/17.0.8


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 via email to

[Prev in Thread] Current Thread [Next in Thread]