- win_virtio_driver_update_test: type = driver_in_use only Windows monitor_type = qmp monitors = qmp1 cdroms += " virtio winutils" image_snapshot_image1 = yes kill_after_test = yes kill_vm_on_error = yes check_guest_bsod = yes login_timeout = 360 need_enable_verifier = yes need_clear_verifier = yes driver_install_timeout = 600 suppress_exception = no tmp_folder = C:\tmp guest_alias = "Win7-32:w7\x86,Win7-64:w7\amd64,Win8-32:w8\x86,Win8-64:w8\amd64,Win8.1-32:w8.1\x86,Win8-64.1:w8.1\amd64,Win10-32:w10\x86,Win10-64:w10\amd64,Win2008-32:2k8\x86,Win2008-64:2k8\amd64,Win2012-64:2k12\amd64,Win2012-64r2:2k12R2\amd64" driver_install_cmd = "python WIN_UTILS:\win_driver_install.py %s %s %s %s %s" show_file_ext_cmd = "reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v HideFileExt /t REG_DWORD /d 0 /f" read_rng_cmd = "X:\random_%PROCESSOR_ARCHITECTURE%.exe" sub_test = win_virtio_driver_update_test variants: - uninstall_install: need_uninstall = yes - downgrade_upgrade: need_uninstall = no cdrom_virtio_downgrade = isos/windows/virtio-win-downgrade.iso variants: - before_bg_test: run_bg_flag = "before_bg_test" - during_bg_test: run_bg_flag = "during_bg_test" read_rng_cmd = for /l %i in (1, 1, 1000) do "X:\random_%PROCESSOR_ARCHITECTURE%.exe" suppress_exception = yes - after_bg_test: run_bg_flag = "after_bg_test" variants: - with_balloon: driver_name = balloon balloon = balloon0 balloon_dev_devid = balloon0 balloon_dev_add_bus = yes driver_name = balloon device_name = "VirtIO Balloon Driver" driver_id_pattern = "(.*?):.*?VirtIO Balloon Driver" run_bgstress = balloon_check virtio_balloon_pause = 10.0 free_mem_cmd = cat /proc/meminfo |grep MemFree ratio = 0.5 run_sub_test_after_balloon = no test_tags = "evict enlarge" balloon_type_evict = evict balloon_type_enlarge = enlarge - with_netkvm: driver_name = netkvm nics += " nic2" nic_model_nic1 = virtio nic_model_nic2 = rtl8139 device_name = "Red Hat VirtIO Ethernet Adapter" hostpassword = redhat target_process = netperf.exe run_bgstress = netperf_stress netperf_link = netperf-2.6.0.tar.bz2 server_path = /var/tmp/ client_path = /var/tmp/ test_protocols = TCP_STREAM netperf_client = ${vms} netperf_server = localhost netperf_test_duration = 200 wait_before_subtest = 100 ping_ext_host = "yes" ext_host_get_cmd = "ip route | awk '/default/ { print $3 }'" shell_client = "nc" - with_viostor: driver_name = viostor device_name = "Red Hat VirtIO SCSI controller" target_process = iozone.exe run_bgstress = iozone_windows drive_format_image1 = ide images += " stg" image_name_stg = "images/storage" image_size_stg = 4G drive_format_stg = virtio disk_letter = I disk_index = 1 format_disk = yes force_create_image_stg = yes remove_image_stg = yes driver_id_pattern = "(.*?):.*?VirtIO SCSI Disk Device" iozone_cmd = "WIN_UTILS:\Iozone\iozone.exe -azR -r 64k -n 1G -g 2G -M -i 0 -i 1 -b iozone.xls -f ${disk_letter}:\testfile" iozone_timeout = 7200 wait_bg_time = 180 - with_vioscsi: driver_name = vioscsi device_name = "Red Hat VirtIO SCSI pass-through controller" target_process = iozone.exe run_bgstress = iozone_windows drive_format_image1 = ide images += " stg" image_name_stg = "images/storage" image_size_stg = 4G drive_format_stg = scsi-hd disk_letter = I disk_index = 1 format_disk = yes force_create_image_stg = yes remove_image_stg = yes driver_id_pattern = "(.*?):.*?VirtIO SCSI pass-through controller" iozone_cmd = "WIN_UTILS:\Iozone\iozone.exe -azR -r 64k -n 1G -g 2G -M -i 0 -i 1 -b iozone.xls -f ${disk_letter}:\testfile" iozone_timeout = 7200 wait_bg_time = 180 - with_viorng: no no_virtio_rng driver_name = viorng device_name = "VirtIO RNG Device" run_bgstress = rng_bat target_process = random\w*.exe session_cmd_timeout = 240 rng_data_rex = "0x\w" driver_id_pattern = "(.*?):.*?VirtIO RNG Device"