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

Peter Krempa pkrempa at redhat.com
Thu Apr 11 14:44:21 UTC 2013


On 04/11/13 16:29, Eric Blake wrote:
> 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,/
>

Fixed and pushed.

Thanks.

Peter




More information about the libvir-list mailing list