virsh: Introduce domdisplay-reload command

Introduce the domdisplay-reload command to make the domain reload
its graphics certificates
   #virsh domdisplay-reload <domain> --type <type>

Signed-off-by: Zheng Yan <yanzheng759@huawei.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Zheng Yan
2021-05-11 22:05:21 +08:00
committed by Ján Tomko
parent a74897efe6
commit c9caf53d9b
2 changed files with 60 additions and 0 deletions

View File

@@ -1783,6 +1783,21 @@ included in the URI. If *--all* is specified, then all show all possible
graphical displays, for a VM could have more than one graphical displays.
domdisplay-reload
-----------------
**Syntax:**
::
domdisplay-reload <domain> [[--type] <type>]
Reload the domain's graphical display. This reloads its TLS certificates
without restarting the domain. ``type`` can be any constant from the
`virDomainGraphicsReloadType` enum. By default any supported type is reloaded
(so far only VNC).
domfsfreeze
-----------