[libvirt PATCH 3/5] remote: implement virDomainGraphicsReload

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

 



Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 src/remote/remote_driver.c   |  1 +
 src/remote/remote_protocol.x | 13 ++++++++++++-
 src/remote_protocol-structs  |  6 ++++++
 3 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index f156475bd2..7b73d97b7a 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote/remote_driver.c
@@ -7841,6 +7841,7 @@ static virHypervisorDriver hypervisor_driver = {
     .domainStartDirtyRateCalc = remoteDomainStartDirtyRateCalc, /* 7.2.0 */
     .domainSetLaunchSecurityState = remoteDomainSetLaunchSecurityState, /* 8.0.0 */
     .domainFDAssociate = remoteDomainFDAssociate, /* 9.0.0 */
+    .domainGraphicsReload = remoteDomainGraphicsReload, /* 10.2.0 */
 };
 
 static virNetworkDriver network_driver = {
diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x
index ffe865965d..8a9b55b7d7 100644
--- a/src/remote/remote_protocol.x
+++ b/src/remote/remote_protocol.x
@@ -3954,6 +3954,11 @@ struct remote_domain_start_dirty_rate_calc_args {
     unsigned int flags;
 };
 
+struct remote_domain_graphics_reload_args {
+    remote_nonnull_domain dom;
+    unsigned int type;
+    unsigned int flags;
+};
 
 struct remote_domain_event_memory_device_size_change_msg {
     int callbackID;
@@ -7036,5 +7041,11 @@ enum remote_procedure {
      * @acl: node_device:save:!VIR_NODE_DEVICE_UPDATE_AFFECT_CONFIG|VIR_NODE_DEVICE_UPDATE_AFFECT_LIVE
      * @acl: node_device:save:VIR_NODE_DEVICE_UPDATE_AFFECT_CONFIG
      */
-    REMOTE_PROC_NODE_DEVICE_UPDATE = 447
+    REMOTE_PROC_NODE_DEVICE_UPDATE = 447,
+
+    /**
+     * @generate: both
+     * @acl: domain:write
+     */
+    REMOTE_PROC_DOMAIN_GRAPHICS_RELOAD = 448
 };
diff --git a/src/remote_protocol-structs b/src/remote_protocol-structs
index ee2ec3e6fa..1175d9ad85 100644
--- a/src/remote_protocol-structs
+++ b/src/remote_protocol-structs
@@ -3301,6 +3301,11 @@ struct remote_domain_fd_associate_args {
         remote_nonnull_string      name;
         u_int                      flags;
 };
+struct remote_domain_reload_graphics_args {
+        remote_nonnull_domain      dom;
+        u_int                      type;
+        u_int                      flags;
+};
 enum remote_procedure {
         REMOTE_PROC_CONNECT_OPEN = 1,
         REMOTE_PROC_CONNECT_CLOSE = 2,
@@ -3749,4 +3754,5 @@ enum remote_procedure {
         REMOTE_PROC_NETWORK_GET_METADATA = 445,
         REMOTE_PROC_NETWORK_EVENT_CALLBACK_METADATA_CHANGE = 446,
         REMOTE_PROC_NODE_DEVICE_UPDATE = 447,
+        REMOTE_PROC_DOMAIN_RELOAD_TLS_CERTIFICATES = 448,
 };
-- 
2.43.2
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux