libvirt/include/libvirt
Zheng Yan b25b071c75 libvirt: Introduce virDomainGraphicsReload API
The new virDomainGraphicsReload API is used to make the domain reload
its certificates without restart, and avoid service interruption.

Currently, only QEMU VNC TLS certificates are supported, but
flags are also reserved for subsequent scenarios.

To reload QEMU VNC TLS certificates as an example, we can call:

  virDomainGraphicsReload(domain, 0, 0);

Then the specified QMP message would be send to QEMU:
{"execute": "display-reload", "arguments":{"type": "vnc", "tls-certs": true}}

Signed-off-by: Zheng Yan <yanzheng759@huawei.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2024-03-08 17:00:15 +01:00
..
libvirt-admin.h admin: Introduce virAdmConnectSetDaemonTimeout 2022-07-07 14:35:30 +02:00
libvirt-common.h.in docstring: remove 'v' from since metadata 2022-05-04 18:11:06 +02:00
libvirt-domain-checkpoint.h docstring: remove 'v' from since metadata 2022-05-04 18:11:06 +02:00
libvirt-domain-snapshot.h docstring: remove 'v' from since metadata 2022-05-04 18:11:06 +02:00
libvirt-domain.h libvirt: Introduce virDomainGraphicsReload API 2024-03-08 17:00:15 +01:00
libvirt-event.h docstring: remove 'v' from since metadata 2022-05-04 18:11:06 +02:00
libvirt-host.h Support cpu0-id of Qemu QMP query-sev-capabilities 2022-05-05 12:29:53 +02:00
libvirt-interface.h docstring: remove 'v' from since metadata 2022-05-04 18:11:06 +02:00
libvirt-lxc.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
libvirt-network.h Define Network Metadata change event 2023-09-18 11:24:47 +02:00
libvirt-nodedev.h api: add virNodeDeviceUpdate() 2024-02-26 11:03:51 +01:00
libvirt-nwfilter.h docstring: remove 'v' from since metadata 2022-05-04 18:11:06 +02:00
libvirt-qemu.h docstring: remove 'v' from since metadata 2022-05-04 18:11:06 +02:00
libvirt-secret.h docstring: remove 'v' from since metadata 2022-05-04 18:11:06 +02:00
libvirt-storage.h storage: Add VIR_STORAGE_VOL_CREATE_VALIDATE flag 2022-11-01 13:07:20 +01:00
libvirt-stream.h docstring: remove 'v' from since metadata 2022-05-04 18:11:06 +02:00
libvirt.h backup: Introduce virDomainCheckpoint APIs 2019-07-26 16:48:58 -05:00
meson.build meson: Use @BASENAME@ more 2020-09-01 13:22:24 +02:00
virterror.h Adding Public Get and Set APIs for Network Metadata 2023-08-25 12:36:37 +02:00