diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-11 08:38:20 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-24 07:58:20 +0100 |
commit | 0e066b2cc50de4b4d5ef3c9b5a39eddc3f98d060 (patch) | |
tree | 66939d1c82eb1da004f8e8daf646e407dca1464e /qemu-options.hx | |
parent | 2538039f2c26d66053426fb547e4f25e669baf62 (diff) | |
download | qemu-0e066b2cc50de4b4d5ef3c9b5a39eddc3f98d060.zip qemu-0e066b2cc50de4b4d5ef3c9b5a39eddc3f98d060.tar.gz qemu-0e066b2cc50de4b4d5ef3c9b5a39eddc3f98d060.tar.bz2 |
input-linux: switch over to -object
This patches makes input-linux use -object instead of a new command line
switch. So, instead of the switch ...
-input-linux /dev/input/event$nr
... you must create an object this way:
-object input-linux,id=$name,evdev=/dev/input/event$nr
Bonus is that you can hot-add and hot-remove them via monitor now.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1457681901-30916-1-git-send-email-kraxel@redhat.com
Diffstat (limited to 'qemu-options.hx')
-rw-r--r-- | qemu-options.hx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/qemu-options.hx b/qemu-options.hx index 732ed8c..b98fa3e 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -1226,15 +1226,6 @@ STEXI Set the initial graphical resolution and depth (PPC, SPARC only). ETEXI -DEF("input-linux", 1, QEMU_OPTION_input_linux, - "-input-linux <evdev>\n" - " Use input device.\n", QEMU_ARCH_ALL) -STEXI -@item -input-linux @var{dev} -@findex -input-linux -Use input device. -ETEXI - DEF("vnc", HAS_ARG, QEMU_OPTION_vnc , "-vnc display start a VNC server on display\n", QEMU_ARCH_ALL) STEXI |