qemu-devel
[Top][All Lists]
Advanced

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

Re: Please help me with with one information


From: Markus Armbruster
Subject: Re: Please help me with with one information
Date: Thu, 06 Apr 2023 10:07:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

"Antonio Apostoliu" <antonio.apostoliu@cestrin.ro> writes:

> Hello 
>
>  
>
> You are so kind to tell me how can I use qmp to send colon character . I
> speak about this character   :
>
>  
>
> I tried:
>
> {"execute":"send-key","arguments":{"keys":[{"type":"qcode","data":"shift-sem
> icolon"}]}}

Reply:

  {"error": {"class": "GenericError", "desc": "Parameter 'data' does not accept 
value 'shift-semicolon'"}}

There is no key code "shift-semicolon".

The "QEMU QMP Reference Manual" lists the key codes:
https://qemu.readthedocs.io/en/latest/interop/qemu-qmp-ref.html#qapidoc-1729

> {"execute":"send-key","arguments":{"keys":[{"type":"qcode","data":"shift","d
> ata":"semicolon"}]}}

Reply:

    {"error": {"class": "GenericError", "desc": "JSON parse error, duplicate 
key"}}

Repeated keys don't make lists, lists do:

    {"execute": "send-key",
     "arguments": {"keys": [
         {"type": "qcode","data": "shift"},
         {"type": "qcode","data": "semicolon"}]}}

> Both don't sent the character in my case

Next time, include the replies you observe in your question.

> All others character worked
>
>  
>
> Best regards




reply via email to

[Prev in Thread] Current Thread [Next in Thread]