- 06 6月, 2013 40 次提交
-
-
由 Yiqiao Pu 提交于
Measure the boot up time of RHEL guest when it run level is 1. Signed-off-by: NYiqiao Pu <ypu@redhat.com> Acked-by: Golita Yue<gyue@redhat.com> get_image_filename have been moved to virt_storage. And we have moved image related script to virt_storage. Changes from v2: Delete duplicated module Changes from v1: Import missing kvm_storage in live_snapshot_chain.py Signed-off-by: NFeng Yang <fyang@redhat.com> All image related functions is moved to storage class. Update it in boot_time. Signed-off-by: NYiqiao Pu <ypu@redhat.com> backup image before boot_time test and restore image after it. Delete image snapshot part code and simplify the code. Signed-off-by: NFeng Yang <fyang@redhat.com> Update method for set and resotre run level. Also drop cache before test the boot time. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Yunping Zheng 提交于
This patch adds a new test that verifies whether the host allows tracing of exception injection in KVM. Signed-off-by: NYunping Zheng <yunzheng@redhat.com>
-
由 Yiqiao Pu 提交于
Savevm should create snapshot for floppies. Use qemu-img to check the floppy snapshot list before and after savevm. Signed-off-by: NYiqiao Pu <ypu@redhat.com> Acked-by: NFeng Yang <fyang@redhat.com>
-
由 Suqin Huang 提交于
(1) Use qemu-img to create an unbootable image. (2) Start vm with the image created by step 1. (3) Use ps get qemu-kvm process %cpu, if greater than 90%, report fail. Signed-off-by: NQingtang Zhou <qzhou@redhat.com> Signed-off-by: NYiqiao Pu <ypu@redhat.com> Signed-off-by: NSuqin Huang <shuang@redhat.com> Signed-off-by: Nsshang <sshang@redhat.com>
-
由 Shuping Cui 提交于
Verify that qemu ROMS are loaded once, rather than multiple times. changes from v1: 1) Modified check function to set(). changes from v2: 1) Add some comments. 2) Delete the qmp_cmd parameter. changes from v3: 1) update some error contexts 2) remove the for loop changes from v4: 1) make re string configure. 2) update the Fail message changes from v5: 1) add check available for fw_filter and addr_filter parameter Signed-off-by: NShuping Cui <scui@redhat.com>
-
由 Amos Kong 提交于
This testcase which itself is doing nothing is used for dealing with VM(s) via framework, i.e. create_image, destroy VM(s) etc. Signed-off-by: NAmos Kong <akong@redhat.com> This patch try to fix all the tab and trailing space problems. Signed-off-by: NJason Wang <jasowang@redhat.com>
-
由 Jason Wang 提交于
Use taskset to set the CPU affinity of tsc read program in both guest and host. Make the code easy to read and drop the tsc list for both guest and host. Signed-off-by: NAmos Kong <akong@redhat.com> Use more reasonable varialbe name and optimize the code path. Signed-off-by: NJason Wang <jasowang@redhat.com> Convert tsc_drift ratio to absolute value If tsc_drift ratio is a large negative, case could not raise exception. Signed-off-by: NAmos Kong <akong@redhat.com> Filter integer from the return value of get_tsc If the return value of get_tsc() contains other string, it will fail to convert the return value to float. Use re.findall('(\d+)',o)[0] to filter tsc value. Signed-off-by: NAmos Kong <akong@redhat.com> tsc_drift: Fix a bug of set CPU affinity We need set process running on a single processor. There is a misunderstand of mask and cpulist. "taskset 1 command": command will execute on CPU0 or CPU1, not only CPU1 "taskset -c 1 command": command will only execute on CPU1 Signed-off-by: NAmos Kong <akong@redhat.com> Reported-by: NShuxi Shang <sshang@redhat.com> Update interface to fit the new framework Signed-off-by: NFeng Yang <fyang@redhat.com> Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Mike Qiu 提交于
Currently, qemu.convert.to_qed and qemu.convert.to_raw will be skip, and the log is: 17:37:31 INFO | SKIP qcow2.virtio_blk.smp2.virtio_net. Fedora.18.x86_64.qemu_img.convert.to_qed -> ParamNotFound: Mandatory parameter 'compressed' is missing. Check your cfg files for typos/mistakes This is because in convert test, it will use params["compressed"] and params["encrypted"], but for to_qed and to_raw, the two params does not exist. In old version virttest, it will be OK, as it use params.get("compressed"), and this will return 'None', the test can run safely. But in the new version, it will just SKIP due to no param 'compressed'. This patch fixes problem with these two cases. Signed-off-by: NMike Qiu <qiudayu@linux.vnet.ibm.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
With these 2 parameters you can assign a specific bus/port for usb device. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
This patch rewrites the get_free_usb_port function: * Moving it out of make_create_command function. * Creating some helper function. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
This reverts commit fadf99e6c0b1bdd86315040b3d3a35a804a550e8. The freq option was removed in commit: https://github.com/autotest/autotest/commit/93acc8819c8d912f2f3bf6f4d5d66bc2c99181a4 Thus revert this commit from virt-test. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Lukáš Doktor 提交于
No actual changes. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
The main monitor name is overriden to hmp1 and causes test failures... Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Use VM.get_monitory_by_type() function to get QMP monitor(s). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
This function can be used to get monitors of the given type. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Yunping Zheng 提交于
This patch add the lost APIs in utils_net, something wrong happended when rebase the patch(commit 9efb355). Signed-off-by: NYunping Zheng <yunzheng@redhat.com>
-
由 Lukáš Doktor 提交于
After the test during check_image the backup image was still being overwritten. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Mike Qiu 提交于
has_option(help_text, "use_nodefaults") will always return false because qemu help_text just has 'nodefaults' line, instead of 'use_nodefaults'. So -nodefaults will never be used as qemu command line. This patch is to avoid this error situation Signed-off-by: NMike Qiu <qiudayu@linux.vnet.ibm.com>
-
由 Mike Qiu 提交于
Now use test.bindir will not find the image file, just update it to new interface data_dir.get_data_dir Signed-off-by: NMike Qiu <qiudayu@linux.vnet.ibm.com>
-
由 Yu Mingfei 提交于
Signed-off-by: NYu Mingfei <yumingfei@cn.fujitsu.com>
-
由 Suqin Huang 提交于
This test checks groups when guest is started as nobody [v2] using qemu -runas option to exec the qemu. Signed-off-by: NYunping Zheng <yunzheng@redhat.com>
-
由 Yiqiao Pu 提交于
Add heavy disk write load test for windows guests. Using Crystal Disk Mark [1] to generate the write load inside the guest. And set the default cache to writeback in this test. changes from v1: - Record steps in INFO logs - Close the session after test - Add command empty check [1] Crystal Disk Mark is a BSD licensed program http://crystalmark.info/software/CrystalDiskMark/manual-en/License.html It can be downloaded here: http://crystalmark.info/software/CrystalDiskMark/index-e.html The file will be added to the winutils.iso Signed-off-by: NYiqiao Pu <ypu@redhat.com> Acked-by: NFeng Yang <fyang@redhat.com>
-
由 Qingtang Zhou 提交于
The previous patch introduced a bug in the qemu-ga.exe path. This patch tries to fix this problem. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
The previous patches for adding windows support of qemu-guest-agent depend on a guest image in which user has installed necessary DLL files. This patch tries to install these DLLs by test script, so that to we can test this feature with a fresh windows system. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
* Fixed a docstring * Improved error reporting for missing accessor generator parameters * Avoid forcing subclass extended parameter value type to be str
-
由 Chris Evich 提交于
* Add ability to compare LibvirtXMLBase derived instances * Fixed indentation problems in libvirt_xml.devices.librarian * Added ability to create devices from ElementTree elements * Added simplistic input element XML validation * Simplified Serial device class hierarchy * Added new unittests for serial devices * Added new unittests for vm_xml device enumeration / comparison * Added stub modules for all devices classes * Added address pseudo-device support * Added unittests to verify no class steps on address-class properties * Added unittest tearDown() to cleanup from any library module inter-test changes * Added basic address pseudo-device unittest * Added simplified address pseudo-device to take simple dictionary of attributes * Fixed virsh_instance parameter-order issues Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Yu Mingfei 提交于
Signed-off-by: NYu Mingfei <yumingfei@cn.fujitsu.com>
-
由 Yu Mingfei 提交于
Signed-off-by: NYu Mingfei <yumingfei@cn.fujitsu.com>
-