From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ETLWi-0004BX-Ff for qemu-devel@nongnu.org; Sat, 22 Oct 2005 11:43:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ETLWi-0004BL-0v for qemu-devel@nongnu.org; Sat, 22 Oct 2005 11:43:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ETLWh-0004BI-PX for qemu-devel@nongnu.org; Sat, 22 Oct 2005 11:43:19 -0400 Received: from [72.14.204.201] (helo=qproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ETLWh-0001yH-VL for qemu-devel@nongnu.org; Sat, 22 Oct 2005 11:43:20 -0400 Received: by qproxy.gmail.com with SMTP id p32so48008qba for ; Sat, 22 Oct 2005 08:43:18 -0700 (PDT) Message-ID: <8aa9b2c50510220843h485bd247p@mail.gmail.com> Date: Sat, 22 Oct 2005 17:43:18 +0200 From: sebastiano lomuscio MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: [Qemu-devel] qemu high cpu load when -monitor stdio and fifo is used Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Please help me.! I'm trying to send command to the qemu monitor via a FIFO device in order to stop,start and save the vm state in a file from another process . The script I'm using is the following: #!/bin/bash mkfifo /tmp/serin qemu -boot c -cdrom win2000.iso -hda win2000s.img -m 256 -localtime -snapshot -nographic -serial null -monitor stdio -n ./qemu-ifup < /tmp/serin & exit When this script is started the emulator doesn't start. I have to send the following command via /tmp/serin echo "start " > /tmp/serin After that, the emulator runs fine but the cpu load is very high (near 99%) also if i send the "stop" command : echo "stop" > /tmp/serin the emulation get stopped but the cpu load remain high. The emulated system is windows 2000 server Any help is really appreciated Sebastiano