From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8ukN-0004wF-66 for qemu-devel@nongnu.org; Tue, 15 Dec 2015 13:54:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8ukI-0003o0-Sg for qemu-devel@nongnu.org; Tue, 15 Dec 2015 13:54:51 -0500 Received: from alln-iport-7.cisco.com ([173.37.142.94]:25073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8ukI-0003nu-M2 for qemu-devel@nongnu.org; Tue, 15 Dec 2015 13:54:46 -0500 Received: from [10.82.255.138] (rtp-vpn6-1923.cisco.com [10.82.255.138]) by alln-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id tBFIsi0A030881 for ; Tue, 15 Dec 2015 18:54:44 GMT Message-ID: <567061F3.7060009@cisco.com> Date: Tue, 15 Dec 2015 13:54:43 -0500 From: Neil McGill MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] virtio console users wrong port (sometimes) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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