Re: [libvirt] [PATCH] qemu: Add shortcut for HMP pass through

2011-02-03 Thread Jiri Denemark
On Wed, Feb 02, 2011 at 09:18:25 -0700, Eric Blake wrote: > On 02/02/2011 08:49 AM, Jiri Denemark wrote: > > +enum { > > +VIR_DOMAIN_QEMU_MONITOR_COMMAND_DEFAULT = 0, > > +VIR_DOMAIN_QEMU_MONITOR_COMMAND_HMP = (1 << 0), /* cmd is in HMP */ > > +} virDomainQemuMonitorCommandFlags; > > +

Re: [libvirt] [PATCH] qemu: Add shortcut for HMP pass through

2011-02-02 Thread Eric Blake
On 02/02/2011 08:49 AM, Jiri Denemark wrote: > Currently users who want to use virDomainQemuMonitorCommand() API or > it's virsh equivalent has to use the same protocol as libvirt uses for > communication to qemu. Since the protocol is QMP with current qemu and > HMP much more usable for humans, on

[libvirt] [PATCH] qemu: Add shortcut for HMP pass through

2011-02-02 Thread Jiri Denemark
Currently users who want to use virDomainQemuMonitorCommand() API or it's virsh equivalent has to use the same protocol as libvirt uses for communication to qemu. Since the protocol is QMP with current qemu and HMP much more usable for humans, one ends up typing something like the following: v