Signed-off-by: Shanzhi Yu <s...@redhat.com>
---
 repos/domain/fsinfo.py              | 2 +-
 repos/domain/install_linux_check.py | 2 +-
 repos/domain/install_linux_net.py   | 2 +-
 repos/interface/define.py           | 2 +-
 repos/interface/undefine.py         | 4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/repos/domain/fsinfo.py b/repos/domain/fsinfo.py
index e6d1bf0..d4614f5 100644
--- a/repos/domain/fsinfo.py
+++ b/repos/domain/fsinfo.py
@@ -81,7 +81,7 @@ def fsinfo(params):
             return 1
 
         fsinfo = vm.fsInfo()
-        logger.info("get geust filesystem information")
+        logger.info("get guest filesystem information")
 
         mac = get_guest_mac(vm)
         if not mac:
diff --git a/repos/domain/install_linux_check.py 
b/repos/domain/install_linux_check.py
index ab1e7db..bb3cc2a 100644
--- a/repos/domain/install_linux_check.py
+++ b/repos/domain/install_linux_check.py
@@ -99,7 +99,7 @@ def install_linux_check(params):
         Test_Result = 1
         return Test_Result
 
-    # Check whether vcpu equals the value set in geust config xml
+    # Check whether vcpu equals the value set in guest config xml
     logger.info("check point3: check cpu number in guest equals to \
                  the value set in domain config xml")
     vcpunum_expect = int(utils.get_num_vcpus(domain_name))
diff --git a/repos/domain/install_linux_net.py 
b/repos/domain/install_linux_net.py
index 4367d97..7173294 100644
--- a/repos/domain/install_linux_net.py
+++ b/repos/domain/install_linux_net.py
@@ -239,7 +239,7 @@ def install_linux_net(params):
             logger.info("booting guest vm off harddisk failed")
             return 1
         else:
-            logger.info("geust is booting up")
+            logger.info("guest is booting up")
     else:
         interval = 0
         while(interval < 3600):
diff --git a/repos/interface/define.py b/repos/interface/define.py
index 18ba71b..e0dbcf4 100644
--- a/repos/interface/define.py
+++ b/repos/interface/define.py
@@ -42,7 +42,7 @@ def define(params):
     try:
         conn.interfaceDefineXML(xmlstr, 0)
         if check_define_interface(ifacename):
-            logger.info("define a interface form xml is successful")
+            logger.info("define a interface from xml is successful")
         else:
             logger.error("fail to check define interface")
             return 1
diff --git a/repos/interface/undefine.py b/repos/interface/undefine.py
index f9b2d74..8b250de 100644
--- a/repos/interface/undefine.py
+++ b/repos/interface/undefine.py
@@ -39,14 +39,14 @@ def undefine(params):
     try:
         ifaceobj.undefine()
         if check_undefine_interface(ifacename):
-            logger.info("undefine a interface form xml is successful")
+            logger.info("undefine a interface is successful")
         else:
             logger.error("fail to check undefine interface")
             return 1
     except libvirtError, e:
         logger.error("API error message: %s, error code is %s" \
                      % (e.message, e.get_error_code()))
-        logger.error("fail to undefine a interface from xml")
+        logger.error("fail to undefine a interface")
         return 1
 
     return 0
-- 
1.8.3.1

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

Reply via email to