Re: [PATCH 15/18] qemumonitorjsontest: Test qemuMonitorJSONSendKey

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/02/2013 11:10 AM, Michal Privoznik wrote:
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  tests/qemumonitorjsontest.c | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
> 

>  static int
> +testQemuMonitorJSONqemuMonitorJSONSendKey(const void *data)
> +{
> +    virDomainXMLOptionPtr xmlopt = (virDomainXMLOptionPtr)data;
> +    qemuMonitorTestPtr test = qemuMonitorTestNewSimple(true, xmlopt);
> +    int ret = -1;
> +    unsigned int keycodes[] = {43, 26, 46, 46, 32};

Is sending the same keycode more than once in a single batch really
supported?  The guest will see the key pushed only once.

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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]