[PATCH 2/4] remote driver implementation

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

 



* src/remote/remote_driver.c: remote_driver data structure extension.
* src/remote/remote_protocol.x: remote protocol extension.

Signed-off-by: Hong Xiang <hxiang@xxxxxxxxxxxxxxxxxx>
---
 src/remote/remote_driver.c   |    4 ++++
 src/remote/remote_protocol.x |   31 ++++++++++++++++++++++++++++++-
 2 files changed, 34 insertions(+), 1 deletions(-)

diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index ea7fb24..0272c91 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote/remote_driver.c
@@ -4526,6 +4526,10 @@ static virDriver remote_driver = {
     .domainGetBlockJobInfo = remoteDomainGetBlockJobInfo, /* 0.9.4 */
     .domainBlockJobSetSpeed = remoteDomainBlockJobSetSpeed, /* 0.9.4 */
     .domainBlockPull = remoteDomainBlockPull, /* 0.9.4 */
+    .domainManagedCoreDump = remoteDomainManagedCoreDump, /* 0.9.8 */
+    .domainHasManagedCoreDump = remoteDomainHasManagedCoreDump, /* 0.9.8 */
+    .domainManagedCoreDumpRemove = remoteDomainManagedCoreDumpRemove, /* 0.9.8 */
+    .domainManagedCoreDumpDownload = remoteDomainManagedCoreDumpDownload, /* 0.9.8 */
 };
 
 static virNetworkDriver network_driver = {
diff --git a/src/remote/remote_protocol.x b/src/remote/remote_protocol.x
index a174af8..df485e6 100644
--- a/src/remote/remote_protocol.x
+++ b/src/remote/remote_protocol.x
@@ -2267,6 +2267,30 @@ struct remote_domain_open_graphics_args {
     unsigned int flags;
 };
 
+struct remote_domain_managed_core_dump_args {
+    remote_nonnull_domain dom;
+    unsigned int flags;
+};
+
+struct remote_domain_has_managed_core_dump_args {
+    remote_nonnull_domain dom;
+    unsigned int flags;
+};
+
+struct remote_domain_has_managed_core_dump_ret {
+    int result;
+};
+
+struct remote_domain_managed_core_dump_remove_args {
+    remote_nonnull_domain dom;
+    unsigned int flags;
+};
+
+struct remote_domain_managed_core_dump_download_args {
+    remote_nonnull_domain dom;
+    unsigned int flags;
+};
+
 /*----- Protocol. -----*/
 
 /* Define the program number, protocol version and procedure numbers here. */
@@ -2562,7 +2586,12 @@ enum remote_procedure {
     REMOTE_PROC_DOMAIN_SNAPSHOT_NUM_CHILDREN = 246, /* autogen autogen priority:high */
     REMOTE_PROC_DOMAIN_SNAPSHOT_LIST_CHILDREN_NAMES = 247, /* autogen autogen priority:high */
     REMOTE_PROC_DOMAIN_EVENT_DISK_CHANGE = 248, /* skipgen skipgen */
-    REMOTE_PROC_DOMAIN_OPEN_GRAPHICS = 249 /* skipgen skipgen */
+    REMOTE_PROC_DOMAIN_OPEN_GRAPHICS = 249, /* skipgen skipgen */
+    REMOTE_PROC_DOMAIN_MANAGED_CORE_DUMP = 250, /* autogen autogen */
+
+    REMOTE_PROC_DOMAIN_HAS_MANAGED_CORE_DUMP = 251, /* autogen autogen */
+    REMOTE_PROC_DOMAIN_MANAGED_CORE_DUMP_REMOVE = 252, /* autogen autogen */
+    REMOTE_PROC_DOMAIN_MANAGED_CORE_DUMP_DOWNLOAD = 253 /* autogen autogen | readstream@1 */
 
     /*
      * Notice how the entries are grouped in sets of 10 ?
-- 
1.7.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[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]