XXiaodai Wangv2v: fix boottype error on rhel9
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
provider: Add libvirt_version Add a new provider directory to serve as an area to put common functions and functionality needed for tp-libvirt specific tests. Add a libvirt_version.py which has a function designed to compare a specific upstream libvirt version against the running libvirt library version on the system. This will allow tests that may have different output or functionality allowed based on which libvirt version is running on the host to perform or generate output expected for the specific version Code is based on cevich@redhat.com's libvirt_library_version() logic taken from a yet unreworked/remerged PR #1171 from virt-test. I massaged the logic a bit in order to fit the model libvirt uses to take the major version * 1000000 + the minor version * 1000 + the update in order to fabricate a version which is easy to compare. Signed-off-by: John Ferlan <jferlan@redhat.com> | 12 年前 | |
tp-libvirt: Import cleanups Clean up imports across the board in tp-libvirt. The criteria followed was: 1) virttest.aexpect turned into a stand alone project, aexpect. Change all references virttest.aexpect -> aexpect. 2) Remove unnecessary imports 3) Turn multi imports from a single entry point to one import per line. This increases both patch and source code readability. 4) Separate blocks of imports with a line: * Python standard library imports * Autotest imports * virttest imports * Internal tp-qemu imports 5) Remove try/except blocks refering autotest libs and stick with the virttest.staging copy This paves the way for the future removal of autotest references, replacing those references with avocado ones. Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> | 10 年前 | |
v2v: fix boottype error on rhel9 v2v did some changes on rhel9 about the guest biostype, this patch adapts the change. Signed-off-by: Xiaodai Wang <xiaodwan@redhat.com> | 5 年前 |