Re: [PATCH 2/3 V3] send-key: Expose the new API in virsh

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

 



On 06/24/2011 07:19 AM, Daniel P. Berrange wrote:
+static const vshCmdInfo info_send_key[] = {
+    {"help", N_("Send keycodes to the guest")},
+    {"desc", N_("Send keycodes to the guest, the keycodes must be integers\n"
+                "    Examples:\n\n"
+                "        virsh # send-key<domain>  37 18 21\n"
+                "        virsh # send-key<domain>  KEY_RIGHTCTRL KEY_C\n"
+                "        virsh # send-key<domain>  --codeset xt 37 18 21\n"
+                "        virsh # send-key<domain>  --holdtime 1000 0x15 18 0xf\n"

These examples should likely be in the virsh.pod file too.

Oops, we didn't get that done yet.  I'm working up a patch.

--
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
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]