- 15 5月, 2013 30 次提交
-
-
由 Qingtang Zhou 提交于
The ping test contains 2 subtest now, this patch adds one more subtest for a simple single-nic-card ping test. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Feng Yang 提交于
Design this case according to manual case [x2APIC] switch kernel with kexec This case check that x2apic is still enabled after kexec. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Lukáš Doktor 提交于
Allow backup_image to skip_existing files and use this during preprocess_image. This could save a lot of time with intrusive tests. The idea is to create backup image only once and in case of intrusive tests use restore_image_after_testing_on_error. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Use root_dir/$backup_dir in case $backup_dir is not absolute path and change the default backup location to $autotest_data/images/. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
No actual changes, just cleanups. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Feng Yang 提交于
RHEL4 guests need some special config to make this test work. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
This case test QEMU Monitor Protocol Events. It verifies if the appropriate qmp event will be emitted when the required conditions are met. It tests the following events now: RESET SHUTDOWN STOP RESUME WATCHDOG. All tests follow the qmp commands: system_reset, quit, system_powerdown. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
This patch adds one more login step for qemu guest agent reboot testing, to verify if the guest works well after reboot. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
It is a fairly frequent task to pick up the current qemu binary being used at a time, and as time passed, we had a proliferation of mechanisms to do it, slightly similar to each other. Introduce get_qemu_binary, get_qemu_img_binary() and get_qemu_io_binary(), utility functions that get the path of each of the QEMU binaries for use in tests and utility functions. Use the new functions across virt test. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Suqin Huang 提交于
1). boot guest with cpu_model in the cluster one by one 2). check flags in guest if flag check is required, otherwise shutdown guest Change from v1: use cpu_model_%s instead of intel_model/amd_model Signed-off-by: NSuqin Huang <shuang@redhat.com> Acked-by: NFeng Yang <fyang@redhat.com>
-
由 Suqin Huang 提交于
1. boot guest with -cpu model,+extra_flags (extra_flags is optional) a. no defined model_name in cfg file guest_model = host_model b. model_name defined in cfg file guest_model = params.get("cpu_model") 2. get guest flags 3. get expected model flags from dump file a. -cpu host: qemu_model = host_model b. guest_model > host_model --> expected_model = host_model e.g guest_model = Haswell, host_model = Sandybridge expected_model = Sandybridge c. guest_model < host_model --> expected_model = guest_model 4. get extra flags a. add_flags = +flag 1). flag is exposed to guest if it's supported in host 2). flag is not supported to guest if it's unknown in host 3). ignore "check", "enforce" which are params not flag b. del_flags = -flag flag is removed if it's supported in guest c. params check: check lack flag in host include unknow flag 5. compare expected flag with flags in guest a. out_flags: not supported with some conf, this kinds of flag will be displayed in dump file, but not in guest. e.g tsc-dedline is not supported with -M rhel6.3.0 b. option_flags: some flag is generated by kernel which is not defined in dump file. it's acceptable when display in guest. e.g rep_good expected_flags = expected_model_flags + add_flags - del_flags - out_flags miss_flag = expected_flags - guest_flags unexpect_flag = guest_flags - expected_flags - option_flags Change v1: 1). add model_info check 2). improve for loop 3). put sub-func at the top Change from v2: 1). move qemu_binary to function get_all_support_flags() 2). add flags value check Change from v3: Add one more blank line between functions Change from v4: change more_flags to unexpect_flag improve get_extra_flags function Change from V5: 1). remove unused model 2). add try, except for m.groups()[0] 3). result format of -cpu ? are diff between rhel6, and rhel7, set pattern in config file Change from V6: 1). update flag.groups() to flag_list.groups() 2). add blank space between "" and , Signed-off-by: NSuqin Huang <shuang@redhat.com> Acked-by: NXu Tian <xutian@redhat.com> Update the dump_file dir to make it accept local file. And update some flags should in option_flags. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Yiqiao Pu 提交于
Add five live snapshot cases have similar process: - create live snapshot when guest paused - restore to previous state when guest become crash - restore live snapshot after guest update - restore live snapshot chain 2-restore to base - restore to parent snapshot node Signed-off-by: NYiqiao Pu <ypu@redhat.com> Update interface to date Signed-off-by: NYiqiao Pu <ypu@redhat.com> Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 tian xu 提交于
This script check file content not changes after create livesnapshot; changes from v1: 1). used utils.has_file instead get md5 by shell command 2). instead guest_name param with os_type param to identify guest os type small fix, instead guest_name param with os_type param Signed-off-by: NXu Tian <xutian@redhat.com> Acked-by: NFeng Yang <fyang@redhat.com>
-
由 Yiqiao Pu 提交于
Update the functions using in this scripts to date and bug fix Signed-off-by: NSuqing Huang <shuang@redhat.com> Signed-off-by: NFeng Yang <fyang@redhat.com> Signed-off-by: NQingtang Zhou <qzhou@redhat.com> Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Suqin Huang 提交于
create live snapshot during file transfer Signed-off-by: NSuqin Huang <shuang@redhat.com> Acked-by: NQingtang Zhou <qzhou@redhat.com> Acked-by: Feng Yang<fyang@redhat.com>
-
由 Suqin Huang 提交于
1. create live snapshot during file creating 2. create live snapshot when guest reboot Signed-off-by: NSuqin Huang <shuang@redhat.com> Acked-by: NQingtang Zhou <qzhou@redhat.com> Acked-by: NFeng Yang <fyang@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
So we don't get the logs polluted by lines that show added files. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Qingtang Zhou 提交于
Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Qingtang Zhou 提交于
The test output directory is named as the test starting time, but standalone script gets the start time twice, this would make the debug directory name different with its output in debug log. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Lukáš Doktor 提交于
For Linux guests we require 27 disk + 1 boot image. We have to start assigning PCIs from 0x3 in order to have 1 slot for NIC. It would be also possible to remove VGA and use 28 disks. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Current config generates 5 disks, because one is added by the test logic. This can be workarounded by setting stg_image_num = 0 and using old params or using stg_params instead (this patch). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Not all disks have to have image_boot specified. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Make verify_userspace_crash() a bit faster for normal execution (a bit slower on failure, but the test is already failing so it's not an issue). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Verify KVM internal error occurance during VM.verify_alive(). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 14 5月, 2013 10 次提交
-
-
由 Qingtang Zhou 提交于
Some QMP's interface will fallback to HMP if there is no match QMP command, this patch checks HMP before calling HMP cmd in QMP, to avoid some unexpected failure. Signed-off-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Feng Yang 提交于
Automate the testcase named "QEMU should report the PID of the process that sent it kill signals test case" that sent it kill signals. Signed-off-by: NFeng Yang <fyang@redhat.com> Acked-by: NXiaoqing Wei <xwei@redhat.com> Acked-by: NQingtang Zhou <qzhou@redhat.com>
-
由 Yiqiao Pu 提交于
Add three KSM test: - Negative test for ksm - KSM per vm - Merging and Splitting in one vm All this three test needs the following steps: 1. Get and set the env parameters for KSM 2. Boot up guest with proper command line 3. Set env inside of guest 4. Allocate 0 pages to make the KSM run 5. Allocate different pages to get split of the pages(option for different cases) 6. Result check and env reset change from v1: - add the host depended parameters in cfg file - use os.system to restart ksmtund as commands will wait the return value. Signed-off-by: NYiqiao Pu <ypu@redhat.com> This patch fix the problem caused by the sciprt have move to another dir. So modify the path of the file. Signed-off-by: Nyunzheng <yunzheng@redhat.com> Fix reference problem Signed-off-by: NQingtang Zhou <qzhou@redhat.com> Update API using in ksm_base to date Signed-off-by: NYiqiao Pu <ypu@redhat.com> Signed-off-by: NFeng Yang <fyang@redhat.com> Set up the memory filled in guest lower that the free memory in guest. To ignore the OOM killer. Signed-off-by: NYiqiao Pu <ypu@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>
-
由 Lukáš Doktor 提交于
To fix qemu-img and qemu-io binary path assignment
-
由 Feng Yang 提交于
Measure overhead of IPI with and without x2apic. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Qingtang Zhou 提交于
These guests don't support these kernel option, so disable them directly. Signed-off-by: NQingtang Zhou <qzhou@redhat.com> Acked-by: NXiaoqing Wei <xwei@redhat.com>
-
由 Qingtang Zhou 提交于
Some guests (eg, RHEL4.9) can't mount the usb storage device which path contains quotation mark, thus this patch make test script try to get the real path before using it. Signed-off-by: NQingtang Zhou <qzhou@redhat.com> Acked-by: NSuqin Huang <shuang@redhat.com>
-