[libvirt] [PATCH] Implement virsh qemu-monitor-command.

Chris Lalancette clalance at redhat.com
Fri Nov 5 16:19:29 UTC 2010


On 11/05/10 - 04:52:58PM, Daniel Veillard wrote:
> On Fri, Nov 05, 2010 at 10:29:06AM -0400, Chris Lalancette wrote:
> > Now that the virsh parsing has been revamped, we can
> > implement qemu-monitor-command.  This is basically the same
> > as it was in previous iterations, but has now been tested to
> > work both with the plain text monitor and the QMP monitor.
> 
>   Ah cool, we should have done that for previous release :-)
> 
> [...]
> > +=head1 QEMU-SPECIFIC COMMANDS
> > +
> > +NOTE: Use of the following commands is B<strongly> discouraged.  They
> > +can cause libvirt to become confused and do the wrong thing on subsequent
> > +operations.  Once you have used this command, please do not report
> > +problems to the libvirt developers; the reports will be ignored.
> 
>   Heh, that's stong wording, but we probably need to safeguard ourselves
> 
> > +=over 4
> > +
> > +=item B<qemu-monitor-command> I<domain> I<command>
> > +
> > +Send an arbitrary monitor command I<command> to domain I<domain> through the
> > +qemu monitor.  The results of the command will be printed on stdout.
> > +
> > +=back
> > +
> >  =head1 ENVIRONMENT
> >  
> >  The following environment variables can be set to alter the behaviour
> 
>   ACK,

Thanks, I pushed this as-is.

-- 
Chris Lalancette




More information about the libvir-list mailing list