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

[libvirt] [PATCH 06/21] Log input type parameters in API entry points



---
 src/libvirt.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/libvirt.c b/src/libvirt.c
index db120b7..a6efaf8 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@ -65,6 +65,7 @@
 #include "virthread.h"
 #include "virstring.h"
 #include "virutil.h"
+#include "virtypedparam.h"
 
 #ifdef WITH_TEST
 # include "test/test_driver.h"
@@ -3839,6 +3840,7 @@ virDomainSetMemoryParameters(virDomainPtr domain,
 
     VIR_DOMAIN_DEBUG(domain, "params=%p, nparams=%d, flags=%x",
                      params, nparams, flags);
+    VIR_TYPED_PARAMS_DEBUG(params, nparams);
 
     virResetLastError();
 
@@ -3981,6 +3983,7 @@ virDomainSetNumaParameters(virDomainPtr domain,
 
     VIR_DOMAIN_DEBUG(domain, "params=%p, nparams=%d, flags=%x",
                      params, nparams, flags);
+    VIR_TYPED_PARAMS_DEBUG(params, nparams);
 
     virResetLastError();
 
@@ -4108,6 +4111,7 @@ virDomainSetBlkioParameters(virDomainPtr domain,
 
     VIR_DOMAIN_DEBUG(domain, "params=%p, nparams=%d, flags=%x",
                      params, nparams, flags);
+    VIR_TYPED_PARAMS_DEBUG(params, nparams);
 
     virResetLastError();
 
@@ -6988,6 +6992,7 @@ virNodeSetMemoryParameters(virConnectPtr conn,
 {
     VIR_DEBUG("conn=%p, params=%p, nparams=%d, flags=%x",
               conn, params, nparams, flags);
+    VIR_TYPED_PARAMS_DEBUG(params, nparams);
 
     virResetLastError();
 
@@ -7228,6 +7233,7 @@ virDomainSetSchedulerParameters(virDomainPtr domain,
     virConnectPtr conn;
 
     VIR_DOMAIN_DEBUG(domain, "params=%p, nparams=%d", params, nparams);
+    VIR_TYPED_PARAMS_DEBUG(params, nparams);
 
     virResetLastError();
 
@@ -7292,6 +7298,7 @@ virDomainSetSchedulerParametersFlags(virDomainPtr domain,
 
     VIR_DOMAIN_DEBUG(domain, "params=%p, nparams=%d, flags=%x",
                      params, nparams, flags);
+    VIR_TYPED_PARAMS_DEBUG(params, nparams);
 
     virResetLastError();
 
@@ -7574,6 +7581,7 @@ virDomainSetInterfaceParameters(virDomainPtr domain,
 
     VIR_DOMAIN_DEBUG(domain, "device=%s, params=%p, nparams=%d, flags=%x",
                      device, params, nparams, flags);
+    VIR_TYPED_PARAMS_DEBUG(params, nparams);
 
     virResetLastError();
 
@@ -20415,6 +20423,7 @@ int virDomainSetBlockIoTune(virDomainPtr dom,
 
     VIR_DOMAIN_DEBUG(dom, "disk=%s, params=%p, nparams=%d, flags=%x",
                      disk, params, nparams, flags);
+    VIR_TYPED_PARAMS_DEBUG(params, nparams);
 
     virResetLastError();
 
-- 
1.8.2.1


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