From: Anthony Liguori <aliguori@us.ibm.com>
To: Christian Limpach <Christian.Limpach@xensource.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [Xen-staging] [xen-unstable] hvm: Remove access to QEMU monitor inVNC server
Date: Tue, 27 Mar 2007 16:56:56 -0500 [thread overview]
Message-ID: <46099328.9050005@us.ibm.com> (raw)
In-Reply-To: <0326530267625D42A4E36594FDD0D1432EBAB2@exchpamain.ad.xensource.com>
Christian Limpach wrote:
>> QEMU 0.9.0 supports redirecting the monitor to a unix socket and
>> supports reconnecting to the monitor (so that the banner is
>> shown each
>> time).
>>
>> When using these options, you can actually execute monitor
>> commands from
>> the command line by doing something like:
>>
>> echo help | socat stdin unix:/path/to/socket
>>
>> With these patches (or by moving qemu-dm up to 0.9.0),
>> someone could add
>> an xm monitor command that let you execute commands via xm.
>>
>> That, IMHO, would be the best possible solution.
>>
>
> I've found that redirecting the monitor using "-monitor pty" works quite
> well since you get access to it using xm console. That might have been
> broken recently though by the changes to how pty information is written
> to xenstore.
>
Except if you disconnect from the pty, QEMU is prone to ending up in an
infinite loop of read() == 0.
> I think it would be better to extend xm console to support additional
> pty's instead of adding a single purpose xm monitor command.
>
xm console could also be extended to work with domain sockets which do
not suffer from this problem.
Regards,
Anthony Liguori
> christian
>
prev parent reply other threads:[~2007-03-27 21:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200703271524.l2RFOMNg003926@latara.uk.xensource.com>
2007-03-27 21:06 ` [Xen-staging] [xen-unstable] hvm: Remove access to QEMU monitor inVNC server Christian Limpach
2007-03-27 21:18 ` Daniel P. Berrange
2007-03-27 21:32 ` Christian Limpach
2007-03-27 22:28 ` Daniel P. Berrange
2007-03-27 22:40 ` Christian Limpach
2007-03-27 22:47 ` Daniel P. Berrange
2007-03-27 21:24 ` Anthony Liguori
2007-03-27 21:41 ` Christian Limpach
2007-03-27 21:56 ` Anthony Liguori [this message]
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=46099328.9050005@us.ibm.com \
--to=aliguori@us.ibm.com \
--cc=Christian.Limpach@xensource.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.