[libvirt] [PATCH 08/10 V2] send-key: Implementing the remote protocol

Eric Blake eblake at redhat.com
Tue Jun 14 18:41:54 UTC 2011


On 06/14/2011 03:32 AM, Matthias Bolte wrote:
>>>>> +/*
>>>>> + * Max number of sending keycodes.
>>>>> + */
>>>>> +const REMOTE_SEND_KEY_MAX = 16;
>>>>
>>>> Should call this  REMOTE_DOMAIN_SEND_KEY_MAX really
>>>>
>> Of course '16' is no where near kilobytes, so perhaps we can raise it
>> a little, but I don't think we should give application developers the
>> idea that this is useful for sending large data volumes.
>>
> Okay, I'm fine with that. But then we should also state this in the
> documentation of virDomainSendKey (patch 7/10) that this is only meant
> for a few key stokes at a time.

At any rate, 16 is consistent between this patch and MAX_SEND_KEY
(renamed VIR_DOMAIN_SEND_KEY_MAX_KEYS) of patch 05/10, and I'm okay
leaving it at 16 for now.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list