- 13 4月, 2018 3 次提交
-
-
由 Xu Han 提交于
Signed-off-by: NXu Han <xuhan@redhat.com>
-
由 Xu Han 提交于
Signed-off-by: NXu Han <xuhan@redhat.com>
-
由 Xu Han 提交于
Signed-off-by: NXu Han <xuhan@redhat.com>
-
- 12 4月, 2018 2 次提交
-
-
由 Xu Han 提交于
Signed-off-by: NXu Han <xuhan@redhat.com>
-
由 Xu Han 提交于
Signed-off-by: NXu Han <xuhan@redhat.com>
-
- 11 4月, 2018 2 次提交
-
-
由 Xu Han 提交于
Signed-off-by: NXu Han <xuhan@redhat.com>
-
由 Xu Han 提交于
Signed-off-by: NXu Han <xuhan@redhat.com>
-
- 13 12月, 2017 2 次提交
-
-
由 Cleber Rosa 提交于
Even though both Autotest and virttest will suffice here, it's a good idea to switch to the library that is still actively maintained. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
由 Cleber Rosa 提交于
Instead of the older (and identical) matrix_to_string() from autotest.client.utils. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 28 4月, 2016 1 次提交
-
-
由 Wei Jiangang 提交于
1) remove unused variable 2) fix double calls for session.close(), note that _do_post_cmd() has already call it. Signed-off-by: NWei Jiangang <weijg.fnst@cn.fujitsu.com>
-
- 21 9月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Clean up imports across the board in tp-qemu. The criteria followed was: 1) Remove unnecessary imports 2) Turn multi imports from a single entry point to one import per line. This increases both patch and source code readability. 3) Separate blocks of imports with a line: * Python standard library imports * Autotest imports * virttest imports * Internal tp-qemu imports 4) 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: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 13 4月, 2015 1 次提交
-
-
由 Shuping Cui 提交于
Add check the disk number after get the disk list for windows guest. Signed-off-by: NShuping Cui <scui@redhat.com>
-
- 04 3月, 2015 1 次提交
-
-
由 Shuping Cui 提交于
1. Add new function to get the disk index for windows guest. 2. Update the related config. Signed-off-by: NShuping Cui <scui@redhat.com>
-
- 19 5月, 2014 1 次提交
-
-
由 Shuping Cui 提交于
Check guests proc scsi only support Linux guests, so add a flag to check it when using virtio-scsi. Check guests proc scsi only support Linux guests, so disable for Windows guests. Signed-off-by: NShuping Cui <scui@redhat.com>
-
- 19 12月, 2013 1 次提交
-
-
由 Cleber Rosa 提交于
There's no need to have the name of the "run_<name>" method (main test entry point) depend on the test name. So, for simplicity sake, let's just name the test entry point "run". I have decided to not fallback gracefully to the previous naming convention as I believe this can lead to confusion in the future. Signed-off-by: NCleber Rosa <crosa@redhat.com>
-
- 17 9月, 2013 1 次提交
-
-
由 Lukáš Doktor 提交于
Some cases create many disks, which takes a long time, where most time consumes the handling around cmd execution. This patch parallelize the image processing in case we deal with over 20 disks. It spawns $no_cpus * 2 threads (or less in case it would be inefficient). The performance improvement was significant (30=>12s on 4CPU system). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 10 9月, 2013 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Fix some extra problems with docstrings in the code tree. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Make virt-test to have a docstring style mostly compliant with the sphinx's [1] format, reStructured text. This means that we have to trade all '@' tags to be ':', mostly. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 09 9月, 2013 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
With the help of the PEP8 script, a semi-automated clean of the code base was made, and effectively changing some of the coding style rules of our code base: * No more 2 lines spacing among functions * No more combined module imports In the end, it was going to be too difficult to take into consideration E501 (line length > 80) errors and W601 (.has_key() is deprecated), so these were ignored, at least for now. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 06 9月, 2013 1 次提交
-
-
由 Xu Tian 提交于
fix not all disk listed issue, get cdrom drive letter with utils_misc.get_winutils_vol(); Signed-off-by: NXu Tian <xutian@redhat.com>
-
- 02 9月, 2013 1 次提交
-
-
由 Lukáš Doktor 提交于
Use Monitor.info_block() which covers all versions of "info block" command to get the information. Also update the cases which use this function to provide info_block output instead the Monitor.info('block') one. Last but not least add unittest. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 22 8月, 2013 1 次提交
-
-
由 Xu Tian 提交于
1). update pre_command: used scsi_debug parm to add_host instead write sys filesystem to avoid device create delay; 2). fix passthrough scsi device cache to writethrough to avoid fail to open /dev/sg* when drive_cache=none; do this because /dev/sg* is emulated by scsI_debug module, backend of these device is memery, open with O_DRIECT is not supported; 3). removed useless import module 'qemu_monitor' Signed-off-by: NXu Tian <xutian@redhat.com>
-
- 06 6月, 2013 2 次提交
-
-
由 Qingtang Zhou 提交于
This is a bug which was introduced in a1c46d139b79ad7f27ab2dee6f6ff58ac9de65d1 This is no 'qtree' keyword in the output of any version of qemu, thus the method to check if qemu supports qtree in that commit would disable qtree check for every qemu binary. This commit tries to run the 'info qtree' command directly, if everything goes well, it means we have qtree support. Reported-by: NMike Qiu <qiudayu@linux.vnet.ibm.com> Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
This patch: * Update docstring, add detail test steps. * Add error.context struct to multi_disk case. * Fix some coding style problem. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
- 15 5月, 2013 2 次提交
-
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 08 5月, 2013 1 次提交
-
-
由 Qingtang Zhou 提交于
RHEL5 host doesn't provide a qtree monitor command, thus we should disable qtree check on this kind of host. Signed-off-by: NQingtang Zhou <qzhou@redhat.com> Acked-by: NFeng Yang <fyang@redhat.com>
-
- 04 4月, 2013 1 次提交
-
-
由 Lukáš Doktor 提交于
This patch benefits from the better error message when key is missing in config params. Instead of custom handling of missing param it uses params[] directly. I modified those params, where I was 100% certain that they are required and doesn't have default value: * val = params.get(..) followed by if not val: raise... * int(params.get(...)) * params.get(...).split() * commands which require string (eg. session.cmd(params.get(...))) I didn't test all the tests before and after in order to verify possible typos but I used pylint before and after, watching for new errors (code rate before and after). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 02 2月, 2013 1 次提交
-
-
由 Lukáš Doktor 提交于
* max_disk must not have any usbs, otherwise there are not enough slots in PCI * default image_boot = yes which generates in multi_disk test multiple disks with index = 1 and test failure. By forcing default value stg_image_boot = 'no' we can keep the default value (and index of image1) and let the other disk to have their own indexes. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 25 12月, 2012 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
A frequent request we've got from users is that the name 'kvm' makes assumptions that are not true for a lot of the use cases of the test suite. Then let's rename the subtest 'kvm' to 'qemu', making it more accurate. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 24 12月, 2012 2 次提交
-
-
由 Lukáš Doktor 提交于
1) vm.create() have to force new params. 2) use data_dir instead of vm.root_dir for image absolute path Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Gerd Hoffmann 提交于
Used wrong path and thus didn't match image file names. Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
-
- 27 11月, 2012 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
This is a solution for issue #108, reported by Gerd. The test multi_disk was calling a full preprocess from the test scope, which is quite dangerous, as it messes with threads set by the virt tests infrastructure, making the test runner to hang. As the idea here is just to create the required disks before the vm starts, call preprocess_image for all the images in params. CC: Lukas Doktor <ldoktor@redhat.com> CC: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 07 9月, 2012 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-