[libvirt] [PATCHv2 0/2] vbox: Add support for virDomainSendKey
Ján Tomko
jtomko at redhat.com
Wed Apr 8 10:01:26 UTC 2015
On Tue, Apr 07, 2015 at 11:37:34AM -0400, Dawid Zamirski wrote:
> Those patches implement support for virDomainSendKey in the VBOX driver. Since
> VBOX SDK does not support "holdtime" natively, it's being simulated by using
> usleep to wait for that time before "key-up" scancodes are sent. The "key-up"
> scancodes are automatically generated by add 0x80 to "key-down" scancodes. This
> is done to make the implementation match the behavior of how QEMU driver handles
> this, and therefore is different from what native VBoxManage command does - e.g.
> one has to type in "key-up" scancodes explicitely and no hold time support at
> all.
>
> ---
> v1 (for reference):
> https://www.redhat.com/archives/libvir-list/2015-March/msg01028.html
>
> v2:
> - add virReportError in all potentially failing code paths
> - coding style adjustment
> - mark for 1.2.15
>
>
>
> Dawid Zamirski (2):
> vbox: Register IKeyboard with the unified API.
> vbox: Implement virDomainSendKey
>
> src/vbox/vbox_common.c | 120 ++++++++++++++++++++++++++++++++++++++++++
> src/vbox/vbox_common.h | 1 +
> src/vbox/vbox_tmpl.c | 27 ++++++++++
> src/vbox/vbox_uniformed_api.h | 8 +++
> 4 files changed, 156 insertions(+)
>
ACK and pushed.
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150408/13dcfebb/attachment-0001.sig>
More information about the libvir-list
mailing list