From mboxrd@z Thu Jan 1 00:00:00 1970 From: paolo pedaletti Subject: Re: howto control VM from outside (shutdown...) Date: Tue, 20 Jan 2009 14:10:02 +0100 Message-ID: <4975CD2A.2030306@gmail.com> References: <4974E154.5020404@gmail.com> <4974F334.7010200@mair-family.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: KVM List To: David Mair Return-path: Received: from mailgw1.si.unimib.it ([149.132.2.29]:49977 "EHLO mailgw1.si.unimib.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755071AbZATNKG convert rfc822-to-8bit (ORCPT ); Tue, 20 Jan 2009 08:10:06 -0500 In-Reply-To: <4974F334.7010200@mair-family.org> Sender: kvm-owner@vger.kernel.org List-ID: Ciao David, thank you for the answer > Take a look at the qemu -monitor option. You can use it to re-direct = the > monitor console to a large number of character devices, including > sockets. The settings are the same as for the -serial option. I've us= ed > it to access the monitor console from a telnet client. ok, I have found this: http://www.linux-kvm.com/content/multiplexing-your-monitor-and-serial-p= ort http://www.linux-kvm.com/content/two-ways-access-your-virtual-machine-m= onitor-across-network and it works, BUT ... why this command doesn't works: echo -e "info name \n" | nc 127.0.0.1 4444 echo -e "info name \n" | nc 127.0.0.1 4445 neither: echo "info name" | nc 127.0.0.1 4444 echo "info name" | nc 127.0.0.1 4445 (output: =EF=BF=BD=EF=BF=BD=01=EF=BF=BD=EF=BF=BD=03=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF= =BF=BDQEMU 0.9.1 monitor - type 'help' for more information ) with this command line option: -monitor telnet:127.0.0.1:4444,server,nowait \ -serial mon:telnet:127.0.0.1:4445,server,nowait ? --=20 Paolo Pedaletti