- block_resize: # As XP and 2003 guest disk manager not support disk shrink. So don't test them for this feature no WinXP Win2003 no RHEL.4 only qcow2 raw type = block_resize extend_ratio = 1.5 shrink_ratio = 0.9 disk_change_ratio = "${extend_ratio} ${shrink_ratio}" accept_ratio = 0.005 md5_file = md5.dat Windows: max_block_size = 2199023255552 ovmf: max_block_size = 17592186044416 iozone_path = "WIN_UTILS:\Iozone\iozone.exe" iozone_option = " -azR -r 64k -n 512M -g 1G -M -I -i 0 -i 1 -b iozone.xls -f %s:\testfile" dd_cmd = "dd if=/dev/urandom of=%s oflag=direct bs=1M count=10" Linux: iozone_option = " -azR -r 64k -n 512M -g 1G -I -i 0 -i 1 -f %s/testfile" qcow2: Host_RHEL.m6, Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2, Host_RHEL.m7.u3, Host_RHEL.m7.u4, Host_RHEL.m7.u5: disk_change_ratio = ${extend_ratio} variants: - with_data_disk: images += " stg" image_size_stg = 10G image_name_stg = images/stg create_image_stg = yes remove_image_stg = yes force_create_image_stg = yes blk_extra_params_stg = "serial=TARGET_DISK0" format_disk = yes Host_RHEL.m6..ide: blk_extra_params_stg = "wwn=0x5000123456789abc" Windows: need_rescan = yes variants: - default_partition: Windows: labeltype = msdos fstype = ntfs Linux: labeltype = msdos fstype = ext4 - with_gpt_ext4: only Linux labeltype = gpt disk_change_ratio = "${extend_ratio}" - with_msdos_xfs: only Linux fstype = xfs disk_change_ratio = "${extend_ratio}" - with_gpt_xfs: only Linux labeltype = gpt fstype = xfs disk_change_ratio = "${extend_ratio}" variants: - fmt_qcow2: image_format_stg = qcow2 - fmt_raw: image_format_stg = raw - with_system_disk: only Windows blk_extra_params_image1 = "serial=TARGET_DISK0" Host_RHEL.m6..ide: blk_extra_params_image1 = "wwn=0x5000123456789abc" backup_image_before_testing = yes restore_image_after_testing = yes need_rescan = yes ide: need_reboot = yes ahci: need_reboot = yes virtio_blk: driver_name = viostor virtio_scsi: driver_name = vioscsi Linux: guest_prepare_cmd = "echo 1 > /sys/block/sdb/device/rescan" RHEL.5: need_reboot = yes variants: - with_iozone: iozone_test = yes - with_md5: only default_partition md5_test = yes Windows: md5_cmd = "%s: && md5sum.exe %s" tmp_md5_file = /tmp/tmp_md5_file pre_command = "dd if=/dev/urandom of=${tmp_md5_file} oflag=direct bs=1M count=10" post_command = "rm -rf ${tmp_md5_file}"