- 10 3月, 2016 1 次提交
-
-
由 Xu Tian 提交于
Signed-off-by: NXu Tian <xutian@redhat.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>
-
- 07 8月, 2015 1 次提交
-
-
由 Wei,Jiangang 提交于
In order to display message to users correctly, The exception message has to use interpolation. This PR refers to the commit beacb9d. Signed-off-by: NWei,Jiangang <weijg.fnst@cn.fujitsu.com>
-
- 12 2月, 2015 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 05 3月, 2014 2 次提交
-
-
由 Lukáš Doktor 提交于
Check for I/O Errors before the test end and raise Warning in such case. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Log the hotplug device's name for easier log analyzing. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 19 2月, 2014 1 次提交
-
-
由 Lukáš Doktor 提交于
Stop stresser should destroy the VM ungracefully in case login fails. Also check the vm.verify_alive before using monitor on "hot" places. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 31 1月, 2014 5 次提交
-
-
由 Lukáš Doktor 提交于
Parallel mode of this test doesn't keep order of inserted devices, which leads to devices ending up in different buses. Setting strict_mode = True always enforces bus and addr. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Set absolute path for disk images using data_dir.get_data_dir(). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
This patch adds parallel variant, which hotplugs multiple random disks over multiple monitors simultaneously. As qdev is not thread safe it was necessarily to put the locking here. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
This version first initiate all hotplug/unplugs and then verifies the results, which puts more stress on qemu. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 10 1月, 2014 4 次提交
-
-
由 Lukáš Doktor 提交于
With incorrect configuration it might happen that no disks can be added. Throw exception instead of simple warning and clean test run. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The qdev.images_define_by_variables needs to be in the try/except block in order to work as expected (remove format and try another round) Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Add context for easier debugging. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
This patch changes the handling of unplug. The simplu_unplug has sometimes problem detecting correctly the unplug status, as it might take seconds before the disk is removed (monitor returns output, but qemu still waits for OS repsonse before it removes the device from qtree). This custom handler waits up to 1s for device to be removed and even when it's not proved to be removed it removes it from representation. We can afford this as all devices are again checked later in the test and the VM state is for the whole period set to dirty. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 20 12月, 2013 1 次提交
-
-
由 Lukáš Doktor 提交于
DeviceInsertError is currently located in qemu_devices.utils. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 19 12月, 2013 3 次提交
-
-
由 Lukáš Doktor 提交于
qemu_devices doesn't support force nor unplug for some time, this patch fixes this test. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
qemu_devices is becoming way too long. This patch splits it into logical modules: qdevices, qbuses and qcontainer. I perserved the qemu_devices_unittest in the same form for now, but it can be split in the future. It already is sepparated into three classes. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 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>
-
- 22 10月, 2013 1 次提交
-
-
由 Mike Qiu 提交于
The default scsi hba is lsi53c895a, but in ppc64, it is spapr-vscsi. This patch to enable spapr-vscsi in ppc64 platform. Signed-off-by: NMike Qiu <qiudayu@linux.vnet.ibm.com>
-
- 20 9月, 2013 3 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lukáš Doktor 提交于
This tests the disk hotplug/unplug functionality. 1) prepares multiple disks to be hotplugged 2) hotplugs them 3) verifies that they are in qtree/guest system/... 4) unplugs them 5) verifies they are not in qtree/guest system/... 6) repeats $repeat_times *) During the whole test stress_cmd might be executed Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-