[libvirt] [PATCHv2] qemu: Try to use QMP for send-key if supported

Eric Blake eblake at redhat.com
Thu Apr 11 14:29:24 UTC 2013


On 04/11/2013 07:15 AM, Peter Krempa wrote:
> Instead of always using HMP use the QMP send-key command introduced in qemu 1.3.
> ---
> 
> Notes:
>     Version 2:
>     - always try QMP instead of adding capability bit

Lots smaller :)

ACK.

> +        /* create single key object */
> +        if (!(key = virJSONValueNewObject()))
> +            goto no_memory;
> +
> +        /* Union KeyValue has two, types, use the generic one */

s/two, types,/two types,/

-- 
Eric Blake   eblake 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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130411/e8f934f0/attachment-0001.sig>


More information about the libvir-list mailing list