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

[libvirt] [PATCH 5/7] shared_memory: Support get/set shared memory parameters for drivers



Including QEMU, LXC, UML, XEN drivers.
---
 src/lxc/lxc_driver.c   |    2 ++
 src/qemu/qemu_driver.c |    2 ++
 src/uml/uml_driver.c   |    2 ++
 src/xen/xen_driver.c   |    3 +++
 4 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
index ff11c2c..c96f324 100644
--- a/src/lxc/lxc_driver.c
+++ b/src/lxc/lxc_driver.c
@@ -2748,6 +2748,8 @@ static virDriver lxcDriver = {
     .domainOpenConsole = lxcDomainOpenConsole, /* 0.8.6 */
     .isAlive = lxcIsAlive, /* 0.9.8 */
     .nodeSuspendForDuration = nodeSuspendForDuration, /* 0.9.8 */
+    .nodeGetSharedMemoryParameters = nodeGetSharedMemoryParameters, /* 0.10.2 */
+    .nodeSetSharedMemoryParameters = nodeSetSharedMemoryParameters, /* 0.10.2 */
 };
 
 static virStateDriver lxcStateDriver = {
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 8e8e00c..d77e8fc 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -14112,6 +14112,8 @@ static virDriver qemuDriver = {
     .domainPMSuspendForDuration = qemuDomainPMSuspendForDuration, /* 0.9.11 */
     .domainPMWakeup = qemuDomainPMWakeup, /* 0.9.11 */
     .domainGetCPUStats = qemuDomainGetCPUStats, /* 0.9.11 */
+    .nodeGetSharedMemoryParameters = nodeGetSharedMemoryParameters, /* 0.10.2 */
+    .nodeSetSharedMemoryParameters = nodeSetSharedMemoryParameters, /* 0.10.2 */
 };
 
 
diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c
index 26877eb..65ac13a 100644
--- a/src/uml/uml_driver.c
+++ b/src/uml/uml_driver.c
@@ -2623,6 +2623,8 @@ static virDriver umlDriver = {
     .domainOpenConsole = umlDomainOpenConsole, /* 0.8.6 */
     .isAlive = umlIsAlive, /* 0.9.8 */
     .nodeSuspendForDuration = nodeSuspendForDuration, /* 0.9.8 */
+    .nodeGetSharedMemoryParameters = nodeGetSharedMemoryParameters, /* 0.10.2 */
+    .nodeSetSharedMemoryParameters = nodeSetSharedMemoryParameters, /* 0.10.2 */
 };
 
 static virStateDriver umlStateDriver = {
diff --git a/src/xen/xen_driver.c b/src/xen/xen_driver.c
index d33737e..8019513 100644
--- a/src/xen/xen_driver.c
+++ b/src/xen/xen_driver.c
@@ -64,6 +64,7 @@
 #include "viruri.h"
 #include "command.h"
 #include "virnodesuspend.h"
+#include "nodeinfo.h"
 
 #define VIR_FROM_THIS VIR_FROM_XEN
 
@@ -2269,6 +2270,8 @@ static virDriver xenUnifiedDriver = {
     .domainOpenConsole = xenUnifiedDomainOpenConsole, /* 0.8.6 */
     .isAlive = xenUnifiedIsAlive, /* 0.9.8 */
     .nodeSuspendForDuration = nodeSuspendForDuration, /* 0.9.8 */
+    .nodeGetSharedMemoryParameters = nodeGetSharedMemoryParameters, /* 0.10.2 */
+    .nodeSetSharedMemoryParameters = nodeSetSharedMemoryParameters, /* 0.10.2 */
 };
 
 /**
-- 
1.7.7.3


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