OSDN Git Service

qmp: add new qmp display-reload
authorZihao Chang <changzihao1@huawei.com>
Tue, 16 Mar 2021 07:58:45 +0000 (15:58 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 23 Mar 2021 07:48:21 +0000 (08:48 +0100)
commit9cc07651655ee86eca41059f5ead8c4e5607c734
tree36a0b9790f12da378b519eb1ffff096a445bbbc6
parent1f08e3415120637cad7f540d9ceb4dba3136dbdd
qmp: add new qmp display-reload

This patch provides a new qmp to reload display configuration
without restart VM, but only reloading the vnc tls certificates
is implemented.
Example:
{"execute": "display-reload", "arguments":{"type": "vnc", "tls-certs": true}}

Signed-off-by: Zihao Chang <changzihao1@huawei.com>
Message-Id: <20210316075845.1476-4-changzihao1@huawei.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
monitor/qmp-cmds.c
qapi/ui.json