On 02/03/2011 02:43 AM, Jiri Denemark wrote: > This patch introduces --hmp option to qemu-monitor-command, which says > that the provided command is in HMP. If libvirt uses QMP to talk with > qemu, the command will automatically be converted into QMP. So the > example above is simplified to just > > virsh qemu-monitor-command --hmp DOM "info kvm" > > --- > Notes: > Version 2: > - document --hmp in virsh man page What, I forgot to call you on that? Thanks for picking it up anyways :) > +++ b/tools/virsh.pod > @@ -1253,10 +1253,13 @@ problems to the libvirt developers; the reports will be ignored. > > =over 4 > > -=item B<qemu-monitor-command> I<domain> I<command> > +=item B<qemu-monitor-command> I<domain> I<command> optional I<--hmp> > > 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. > +qemu monitor. The results of the command will be printed on stdout. If > +I<--hmp> is passed, the command is considered to be a human monitor command > +and libvirt will automatically convert it into QMP if needed. In that case > +the result will also be converted back from QMP. ACK. -- Eric Blake eblake@xxxxxxxxxx +1-801-349-2682 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list