[libvirt] [PATCH 15/18] qemumonitorjsontest: Test qemuMonitorJSONSendKey
Eric Blake
eblake at redhat.com
Wed Oct 2 20:20:22 UTC 2013
On 10/02/2013 11:10 AM, Michal Privoznik wrote:
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> 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
-------------- 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/20131002/34524e10/attachment-0001.sig>
More information about the libvir-list
mailing list