[libvirt-test-api][PATCH] fix imperfect cleanup cause the case will always fail

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

 



Remove call undefined function.

Signed-off-by: Luyao Huang <lhuang@xxxxxxxxxx>
---
 repos/virconn/connection_getMemoryParameters.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/repos/virconn/connection_getMemoryParameters.py b/repos/virconn/connection_getMemoryParameters.py
index 9b88fc3..d110b35 100644
--- a/repos/virconn/connection_getMemoryParameters.py
+++ b/repos/virconn/connection_getMemoryParameters.py
@@ -16,7 +16,6 @@ node_memory = ['full_scans',
                'sleep_millisecs']
 
 SYSFS_MEMORY_SHARED_PATH = '/sys/kernel/mm/ksm/'
-LIBVIRT_API_PATH = '/usr/share/libvirt/api/libvirt-api.xml'
 flags=0
 
 def check_memory_parameter(libvirt_dict, parameter_name):
@@ -47,9 +46,6 @@ def connection_getMemoryParameters(params):
 
         logger.info("get connection to libvirtd")
 
-        if utils.check_flags('getMemoryParameters', LIBVIRT_API_PATH) == 1:
-            return 1
-
         param_dict=conn.getMemoryParameters()
 
         for n in node_memory:
-- 
1.8.3.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]