[libvirt] [PATCH v2] Remove upfront check for hmp - just try it cope with failure

Eric Blake eblake at redhat.com
Thu Sep 13 15:53:25 UTC 2012


On 09/13/2012 07:29 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Don't bother checking for the existance of the HMP passthrough
> command. Just try to execute it, and propagate the failure.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/qemu/qemu_monitor.c      | 20 +-------------
>  src/qemu/qemu_monitor_json.c | 63 +++++++++++++++++++-------------------------
>  src/qemu/qemu_monitor_json.h |  3 +--
>  3 files changed, 29 insertions(+), 57 deletions(-)

Better.  ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120913/978571a2/attachment-0001.sig>


More information about the libvir-list mailing list