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

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


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