[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 2/5] qapi: switch x-input-send-event from con
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH v2 2/5] qapi: switch x-input-send-event from console to device+head |
Date: |
Tue, 02 Feb 2016 13:56:04 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Gerd Hoffmann <address@hidden> writes:
> Use display device qdev id and head number instead of console index to
> specify the QemuConsole. This makes things consistent with input
> devices (for input routing) and vnc server configuration, which both use
> display and head too.
>
> Signed-off-by: Gerd Hoffmann <address@hidden>
> Reviewed-by: Daniel P. Berrange <address@hidden>
> ---
> qapi-schema.json | 32 +++++++++++++++++---------------
> qmp-commands.hx | 17 +++++++++--------
> ui/input.c | 15 ++++++++++-----
> 3 files changed, 36 insertions(+), 28 deletions(-)
>
[...]
> diff --git a/qmp-commands.hx b/qmp-commands.hx
> index db072a6..9925fc1 100644
> --- a/qmp-commands.hx
> +++ b/qmp-commands.hx
> @@ -4614,8 +4614,9 @@ Send input event to guest.
>
> Arguments:
>
> -- "console": console index. (json-int, optional)
> -- "events": list of input events.
> +- "device": display device (json-str, optional)
Missed this in v1, sorry: json-string
> +- "head": display head (json-int, optional)
> +- "events": list of input events
>
> The consoles are visible in the qom tree, under
> /backend/console[$index]. They have a device link and head property, so
[...]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH v2 2/5] qapi: switch x-input-send-event from console to device+head,
Markus Armbruster <=