public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: paolo pedaletti <paolo.pedaletti@gmail.com>
To: David Mair <dmair@mair-family.org>
Cc: KVM List <kvm@vger.kernel.org>
Subject: Re: howto control VM from outside (shutdown...)
Date: Tue, 20 Jan 2009 14:10:02 +0100	[thread overview]
Message-ID: <4975CD2A.2030306@gmail.com> (raw)
In-Reply-To: <4974F334.7010200@mair-family.org>

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 used
> 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-port
http://www.linux-kvm.com/content/two-ways-access-your-virtual-machine-monitor-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:
��\x01��\x03����QEMU 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

?

-- 
Paolo Pedaletti



  reply	other threads:[~2009-01-20 13:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-19 20:23 howto control VM from outside (shutdown...) Paolo Pedaletti
2009-01-19 21:40 ` David Mair
2009-01-20 13:10   ` paolo pedaletti [this message]
2009-01-20 15:55   ` Alberto Treviño
2009-01-20 22:16     ` Paolo Pedaletti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4975CD2A.2030306@gmail.com \
    --to=paolo.pedaletti@gmail.com \
    --cc=dmair@mair-family.org \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox