From: Jamie Lokier <jamie@shareable.org>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/2] Tunnel character device data over VNC (v1)
Date: Thu, 2 Jul 2009 03:30:27 +0100 [thread overview]
Message-ID: <20090702023027.GC18372@shareable.org> (raw)
In-Reply-To: <4A4BCD80.2000906@redhat.com>
Gerd Hoffmann wrote:
> vm running at your workstation in the office, with -serial tcp. You are
> heading home, leaving telnet connected. At home you'll find you want to
> check something in your vm via vpn.
>
> With current qemu: You have to zap the telnet session somehow to be
> able to connect.
>
> With switching: You have to talk to the monitor to reconfigure things.
>
> With multiple connections and multiplexing: You'll just connect, type a
> few commands, disconnect, done. You'll even see what you have done when
> you come back to the office the next day.
You should have run telnet inside GNU screen :-)
Or since you have VNC, VNC to your desktop instead of the guest :-)
> Monitor is different for two reasons:
>
> First, we could actually open a new session. That wouldn't work for
> serial as we can't hotplug a serial line into the guest on connect.
virtio-serial/vmchannel... It could handle that if we wanted to. If
nothing else, as a hotplug PCI serial port, and let the guest's udev
attach a getty. I doubt anyone would bother, but perhaps if it's
useful for last-resort guest recovery.
> Second, if the monitor is used by libvirt or some other management app a
> second connection to the same session is seriously harmful.
Quite so! Right now, I deal with this (with a different management
app) by the exciting method of a qemu monitor proxy written in Perl,
which multiplexes multiple monitor client sessions onto QEMU's single
session. It works quite well.
-- Jamie
next prev parent reply other threads:[~2009-07-02 2:30 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-01 16:21 [Qemu-devel] [PATCH 0/2] Tunnel character device data over VNC (v1) Daniel P. Berrange
2009-07-01 16:26 ` [Qemu-devel] [PATCH 1/2] APIs to capture character device data Daniel P. Berrange
2009-07-01 16:27 ` [Qemu-devel] [PATCH 2/2] VNC char device data stream tunnelling Daniel P. Berrange
2009-07-01 18:44 ` Anthony Liguori
2009-07-01 16:32 ` [Qemu-devel] [PATCH 0/2] Tunnel character device data over VNC (v1) Daniel P. Berrange
2009-07-01 16:42 ` Gerd Hoffmann
2009-07-01 16:50 ` Daniel P. Berrange
2009-07-01 17:30 ` Gerd Hoffmann
2009-07-01 18:50 ` Daniel P. Berrange
2009-07-01 19:27 ` Gerd Hoffmann
2009-07-01 18:51 ` Anthony Liguori
2009-07-01 19:41 ` Gerd Hoffmann
2009-07-01 19:59 ` Anthony Liguori
2009-07-01 20:56 ` Gerd Hoffmann
2009-07-01 21:32 ` Anthony Liguori
2009-07-01 22:46 ` Gerd Hoffmann
2009-07-02 2:30 ` Jamie Lokier [this message]
2009-07-01 21:07 ` Daniel P. Berrange
2009-07-01 18:36 ` Anthony Liguori
2009-07-01 18:44 ` Daniel P. Berrange
2009-07-01 18:47 ` Anthony Liguori
2009-07-01 18:52 ` Daniel P. Berrange
2009-07-01 19:11 ` Anthony Liguori
2009-07-01 19:27 ` Daniel P. Berrange
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=20090702023027.GC18372@shareable.org \
--to=jamie@shareable.org \
--cc=kraxel@redhat.com \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).