* [Qemu-devel] qemu guest stalls with lots of PTY writes
@ 2014-10-17 21:30 Stephen Su
2014-10-18 13:56 ` Andrey Korolyov
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Su @ 2014-10-17 21:30 UTC (permalink / raw)
To: qemu-devel@nongnu.org
[-- Attachment #1: Type: text/plain, Size: 915 bytes --]
qemu experts, please help.
This is seen with the latest qemu 1.5 (commit 62c339c5272ce8fbe8ca52695cee8ff40da7872e), guest VM stalls intermittently.
Setup:2) start a linux guest with a PTY device, for example
<serial type='pty'>
<source path='/dev/pts/4'/>
<target port='0'/>
<alias name='serial0'/>
</serial>
<console type='pty' tty='/dev/pts/4'>
<source path='/dev/pts/4'/>
<target type='serial' port='0'/>
<alias name='serial0'/>
</console>
3) Bind pty device to a slow tty device
socat -d /dev/pts/4 /dev/ttyS0,raw,b9600,echo=0
4) on serial console, writes lots of message, for example
repeat 10000 echo "`date`: this is a long long long long long long long test message"
5) on the host, 'strace -f -p' kvm device, noticed that trace stalls once a while. In addition, if you login via ssh to the guest, note that the login shell stalls intermittently.
[-- Attachment #2: Type: text/html, Size: 4609 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] qemu guest stalls with lots of PTY writes
2014-10-17 21:30 [Qemu-devel] qemu guest stalls with lots of PTY writes Stephen Su
@ 2014-10-18 13:56 ` Andrey Korolyov
0 siblings, 0 replies; 2+ messages in thread
From: Andrey Korolyov @ 2014-10-18 13:56 UTC (permalink / raw)
To: Stephen Su; +Cc: qemu-devel@nongnu.org
Hello,
please take a look on
http://lists.nongnu.org/archive/html/qemu-devel/2014-09/msg00600.html,
I had reported the simular issue for recent emulator versions. It
would be good if this particular problem can achieve more votes,
because I have not enough knowledge to fix it by myself.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-10-18 13:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-17 21:30 [Qemu-devel] qemu guest stalls with lots of PTY writes Stephen Su
2014-10-18 13:56 ` Andrey Korolyov
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).