[RFC 5/7] remote: add RPC support for the virDomainSetFibreChannelAppid API

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

 



Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---
 src/remote/remote_driver.c   |  1 +
 src/remote/remote_protocol.x | 14 +++++++++++++-
 src/remote_protocol-structs  |  6 ++++++
 3 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index b64a86af63..55a0b79f95 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote/remote_driver.c
@@ -8539,6 +8539,7 @@ static virHypervisorDriver hypervisor_driver = {
     .domainAuthorizedSSHKeysSet = remoteDomainAuthorizedSSHKeysSet, /* 6.10.0 */
     .domainGetMessages = remoteDomainGetMessages, /* 7.1.0 */
     .domainStartDirtyRateCalc = remoteDomainStartDirtyRateCalc, /* 7.2.0 */
+    .domainSetFibreChannelAppid = remoteDomainSetFibreChannelAppid, /* 7.7.0 */
 };
 
 static virNetworkDriver network_driver = {
diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x
index df1b126b0c..0a64504d45 100644
--- a/src/remote/remote_protocol.x
+++ b/src/remote/remote_protocol.x
@@ -3854,6 +3854,12 @@ struct remote_domain_start_dirty_rate_calc_args {
     unsigned int flags;
 };
 
+struct remote_domain_set_fibre_channel_appid_args {
+    remote_nonnull_domain dom;
+    remote_string appid;
+    unsigned int flags;
+};
+
 
 /*----- Protocol. -----*/
 
@@ -6818,5 +6824,11 @@ enum remote_procedure {
      * @acl: network:write
      * @acl: network:save
      */
-    REMOTE_PROC_NETWORK_DEFINE_XML_FLAGS = 432
+    REMOTE_PROC_NETWORK_DEFINE_XML_FLAGS = 432,
+
+    /**
+     * @generate: both
+     * @acl: domain:write
+     */
+    REMOTE_PROC_DOMAIN_SET_FIBRE_CHANNEL_APPID = 433
 };
diff --git a/src/remote_protocol-structs b/src/remote_protocol-structs
index dad83361fa..731cad112c 100644
--- a/src/remote_protocol-structs
+++ b/src/remote_protocol-structs
@@ -3206,6 +3206,11 @@ struct remote_domain_start_dirty_rate_calc_args {
         int                        seconds;
         u_int                      flags;
 };
+struct remote_domain_set_fibre_channel_appid_args {
+        remote_nonnull_domain      dom;
+        remote_string              appid;
+        u_int                      flags;
+};
 enum remote_procedure {
         REMOTE_PROC_CONNECT_OPEN = 1,
         REMOTE_PROC_CONNECT_CLOSE = 2,
@@ -3639,4 +3644,5 @@ enum remote_procedure {
         REMOTE_PROC_NODE_DEVICE_CREATE = 430,
         REMOTE_PROC_NWFILTER_DEFINE_XML_FLAGS = 431,
         REMOTE_PROC_NETWORK_DEFINE_XML_FLAGS = 432,
+        REMOTE_PROC_DOMAIN_SET_FIBRE_CHANNEL_APPID = 433,
 };
-- 
2.31.1




[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