[libvirt] [PATCH 0/2] Add version comparison method for virsh_version output

John Ferlan jferlan at redhat.com
Tue Apr 9 18:33:49 UTC 2013


I believe this set of patches should be applied instead of those from

https://www.redhat.com/archives/libvirt-cim/2013-April/msg00006.html

I suppose we could consider combining the two functions; however, there
are a couple place where the return version string is compared more than
once, so I kept both interfaces.

The vxml change is just an informative message that showed me the name
of the image that was failing - I had created 'default-kvm-dimage.img'
and tests were failing to find 'default-kvm-dimage' to place into the
cimtest storage pool.  

John Ferlan (2):
  vxml: Add which volume could not be found to error message
  Add and utilize virsh_version_cmp

 .../08_CreateDiskResourcePool.py                               |  4 ++--
 .../10_create_storagevolume.py                                 |  6 ++++--
 .../11_create_dir_storagevolume_errs.py                        |  5 +++--
 .../12_create_netfs_storagevolume_errs.py                      |  5 +++--
 .../13_delete_storagevolume.py                                 |  5 +++--
 .../14_delete_storagevolume_errs.py                            |  5 +++--
 .../ResourcePoolConfigurationService/15_DiskPoolAutostart.py   |  4 ++--
 .../cimtest/SettingsDefineCapabilities/01_forward.py           |  1 -
 .../VirtualSystemManagementService/19_definenetwork_ers.py     |  8 ++++----
 suites/libvirt-cim/lib/XenKvmLib/common_util.py                |  9 +++++----
 suites/libvirt-cim/lib/XenKvmLib/pool.py                       |  6 +++---
 suites/libvirt-cim/lib/XenKvmLib/rasd.py                       | 10 ++++++----
 suites/libvirt-cim/lib/XenKvmLib/vxml.py                       |  4 ++--
 suites/libvirt-cim/lib/XenKvmLib/xm_virt_util.py               |  6 ++++++
 14 files changed, 46 insertions(+), 32 deletions(-)

-- 
1.8.1.4




More information about the libvir-list mailing list