- 06 12月, 2012 16 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
That concentrates networking related code, such as the VirtNet classes and Bridge manipulation. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Make the sequence of import simpler and clearer. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
c is not defined. Let's use good ol' iteration to accomplish the original idea of the method. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Create a specialized library to hold the PropCan class, with a separate unittest file. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
with an appropriate getter method, and replace this in the autotest wrapper module and stand alone test module. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Rather than repeating the code to locate the root dir in the standalone_test module. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Containing the Env and Params classes. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Move all build helpers (used in the build test) to their own library, 'build_helper', and modify users in the code accordingly. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
In our quest to clean up utils_misc, move all koji related code to utils_koji, and change all the users accordingly. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
- 05 12月, 2012 24 次提交
-
-
由 Yu Mingfei 提交于
new_from_dumpxml() in libvirt_xml.VMXML will not update its instance automatically. vmxml.new_from_dumpxml(vm.name, virsh) => vmxml = vmxml.new_from_dumpxml(vm.name, virsh) Signed-off-by: NYu Mingfei <yumingfei@cn.fujitsu.com>
-
由 Feng Yang 提交于
Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
This script cover the test that hot unplug the original pci device which is added in qemu command. Changes from v1: Delete useless code. Now this case could not work for rhel5 host. So delete pci_del part code which only works in rhel5 host. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
This script cover sr-iov hotplug test cases. Changes from v1: Delete useless line and module. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Restart the guest if exception raised Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Set default value to /usr/bin/qemu-kvm Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Set mac_changeable to yes in sr-iov testing, then update_mac_ip_address called to get guest's ip and mac. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Current guest ip finding mechanism could not work for sr-iov device. This function could login guest with serial, then get guest ip. Sometime sr-iov device in guest could not get ip, we have to restart network in guest. Also add find_substring function. TODO: this function only works when guest support serial, we need a smarter way to get guest ip when sr-iov device used. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
After this patch, we can configure sr-iov device in the same way as nic device. So older test case could run with sr-iov device. Changes from v1: Recreate the patch accroding latest next tree. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
To set more sr-iov device, please use nics += "nic2 nic3" Add some new parameters pf_filter_re, vf_filter_re, mac_ip_filter, mac_changeable Delete devices_requested. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Fix some bugs in this class. Add new function get_vf_status add_device Use error.context in this class. Make it works with multi vms. Now it also support assign pf vf together. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Chris Evich 提交于
* Make virsh.dumpxml raise exception instead of returning '' * Make XML parsing errors clearer by printing XML filename/string Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
* Fix check for type of virsh_instance parameter * Default virsh_instance parameter to virsh module (needed for backward compatibility) * Fix os_arch_machine_map bug Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Pass the test suite's tmp dir to the build process of the passfd c module, so the temporary object files does not go to the virttest dir. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
In order to organize our shared libraries better, we have to slowly take functions from utils_misc and move to other smaller, more specialized libraries. Let's start by doing this with the bootstrap code [1], and move it to a library called 'bootstrap'. [1] Code that copies the correct config sample files to the right places, as well as verifies whether the JeOS image is available. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
-
由 Chris Evich 提交于
* Fixed a bunch of pylint complaints * Fixed bug in virsh_restore * Updated virsh_define to change in libvirt_xml constructors Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
* Cleaned up module docstring * Fixed LibvirtXMLError bug * Simplified initialization and virsh use (internal and external) * Made __readonly__ method easier to use in subclasses * LibvirtXMLBase.copy() bugfixes * Made VMXML.new_from_dumpxml() into static method to wrap __new__ * Cleaned up some overly short variable names Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
* Virsh: * Fixed imports * Fixed VirshSession error-detection bug * Fixed VirshPersistent double-new_session bug * Fixed automatic __del__ / out-of-scope bug * Fixed double close_session exception bug * Cleaned up all logging calls for pylint's sake * Fixed up some API docstrings * Fixed parameter name clash (rename domname -> vm_name) * Virsh unittest: * Fixed utils.process_is_alive logging annoyance * Added session-recycle test * Enhanced lingering virsh-process checks * Stopped printing of DEBUG messages during testing Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
* Fixed missing __super__ calls in subclasses * Fixed XMLTreeFile __str__ bug * Fixed TempXMLFile unlink bug * Fixed corrupt-XML exception handling * Added unittest for __str__ method Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
In order to capture any qemu crashes, introduce a method that scans qemu output and throws an error if a core dump condition is found. Improve verify_alive() by calling this function, among others, and add a check on two of the most called functions of the framework: vm.wait_for_login() and vm.wait_for_serial_login(). Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-