[virt-tools-list] [virt-manager PATCH] maint: update all libvirt checks for version from 1.3.6 to 2.0.0

Pavel Hrdina phrdina at redhat.com
Wed Jun 15 10:12:46 UTC 2016


There want be 1.3.6 version, libvirt switched to new release numbering, for more
information see <http://libvirt.org/downloads.html#numbering>.

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---

Pushed as trivial.

 tests/clitest.py    | 6 +++---
 virtinst/support.py | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/clitest.py b/tests/clitest.py
index fcbd89d..67ab7b1 100644
--- a/tests/clitest.py
+++ b/tests/clitest.py
@@ -528,7 +528,7 @@ c.add_compare(""" \
 --rng egd,backend_host=127.0.0.1,backend_service=8000,backend_type=tcp \
 \
 --panic iobase=507 \
-""", "many-devices", compare_check="1.3.6")  # compare_check=graphics listen=socket support
+""", "many-devices", compare_check="2.0.0")  # compare_check=graphics listen=socket support
 
 # Test the implied defaults for gl=yes setting virgl=on
 c.add_compare(""" \
@@ -841,7 +841,7 @@ c.add_compare("--disk /dev/zero,perms=ro,startup_policy=optional", "edit-simple-
 c.add_compare("--disk path=", "edit-simple-disk-remove-path")
 c.add_compare("--network source=br0,type=bridge,model=virtio,mac=", "edit-simple-network")
 c.add_compare("--graphics tlsport=5902,keymap=ja", "edit-simple-graphics", compare_check="1.3.5")  # compare_check=new graphics listen output
-c.add_compare("--graphics listen=none", "edit-graphics-listen-none", compare_check="1.3.6")  # compare_check=graphics listen=none support
+c.add_compare("--graphics listen=none", "edit-graphics-listen-none", compare_check="2.0.0")  # compare_check=graphics listen=none support
 c.add_compare("--controller index=15,model=lsilogic", "edit-simple-controller")
 c.add_compare("--controller index=15,model=lsilogic", "edit-simple-controller")
 c.add_compare("--smartcard type=spicevmc", "edit-simple-smartcard")
@@ -877,7 +877,7 @@ c.add_compare("--edit --disk path=/foo/bar,target=fda,bus=fdc,device=floppy,clea
 c.add_compare("--edit --cpu host-passthrough,clearxml=yes", "edit-clear-cpu")
 c.add_compare("--edit --clock offset=utc,clearxml=yes", "edit-clear-clock")
 c.add_compare("--edit --video clearxml=yes,model=virtio,accel3d=yes", "edit-video-virtio")
-c.add_compare("--edit --graphics clearxml=yes,type=spice,gl=on,listen=none", "edit-graphics-spice-gl", compare_check="1.3.6")  # compare_check=graphics listen=none support
+c.add_compare("--edit --graphics clearxml=yes,type=spice,gl=on,listen=none", "edit-graphics-spice-gl", compare_check="2.0.0")  # compare_check=graphics listen=none support
 
 c = vixml.add_category("add/rm devices", "test-for-virtxml --print-diff --define", compare_check="1.2.2")  # compare_check=input type=keyboard output
 c.add_valid("--add-device --security model=dac")  # --add-device works for seclabel
diff --git a/virtinst/support.py b/virtinst/support.py
index 6563603..9516d83 100644
--- a/virtinst/support.py
+++ b/virtinst/support.py
@@ -315,7 +315,7 @@ SUPPORT_CONN_SPICE_GL = _make(version="1.3.3",
     hv_version={"qemu": "2.7.92", "test": 0})
 SUPPORT_CONN_VIDEO_VIRTIO_ACCEL3D = _make(version="1.3.0",
     hv_version={"qemu": "2.7.0", "test": 0})
-SUPPORT_CONN_GRAPHICS_LISTEN_NONE = _make(version="1.3.6")
+SUPPORT_CONN_GRAPHICS_LISTEN_NONE = _make(version="2.0.0")
 
 
 # This is for disk <driver name=qemu>. xen supports this, but it's
-- 
2.8.4




More information about the virt-tools-list mailing list