On 1/4/21 1:11 AM, Zihao Chang wrote: > QEMU loads vnc tls certificates only when vm is started. This patch > provides a new qmp command to reload vnc tls certificates without > restart vnc-server/VM. > > Signed-off-by: Zihao Chang <changzih...@huawei.com> > ---
> +++ b/qapi/ui.json > @@ -1179,3 +1179,20 @@ > ## > { 'command': 'query-display-options', > 'returns': 'DisplayOptions' } > + > +## > +# @reload-vnc-cert: > +# > +# Reload certificates for vnc. > +# > +# Returns: nothing > +# > +# Since: 5.2 You've missed 5.2. The next release will be 6.0. > +# > +# Example: > +# > +# -> { "execute": "reload-vnc-cert" } > +# <- { "return": {} } > +# > +## > +{ 'command': 'reload-vnc-cert' } -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org