|
| 1 | +- win_virtio_driver_installer_pretest: |
| 2 | + type = win_virtio_driver_installer_pretest |
| 3 | + only Windows |
| 4 | + virtio_win_media_type = iso |
| 5 | + cdroms += " virtio" |
| 6 | + clone_master = yes |
| 7 | + master_images_clone = image1 |
| 8 | + remove_image_image1 = yes |
| 9 | + cd_format_fixed = ide |
| 10 | + drive_format_image1 = ide |
| 11 | + q35: |
| 12 | + cd_format_fixed = ahci |
| 13 | + drive_format_image1 = ahci |
| 14 | + vio_driver_chk_cmd = 'driverquery /si | find /i "%s"' |
| 15 | + chk_timeout = 240 |
| 16 | + install_script_path = "WIN_UTILS:\install.au3" |
| 17 | + repair_script_path = "WIN_UTILS:\repaire.au3" |
| 18 | + uninstall_script_path = "WIN_UTILS:\uninstall.au3" |
| 19 | + run_install_cmd = 'WIN_UTILS:\AutoIt3_%PROCESSOR_ARCHITECTURE%.exe C:\install.au3' |
| 20 | + run_repair_cmd = 'WIN_UTILS:\AutoIt3_%PROCESSOR_ARCHITECTURE%.exe C:\repaire.au3' |
| 21 | + run_uninstall_cmd = 'WIN_UTILS:\AutoIt3_%PROCESSOR_ARCHITECTURE%.exe C:\uninstall.au3' |
| 22 | + installer_pkg_check_cmd = 'wmic product get name |findstr "Virtio-win-driver-installer"' |
| 23 | + signed_check_cmd = 'wmic product where name="Virtio-win-driver-installer" | findstr "Red Hat, Inc."' |
| 24 | + monitor_type = qmp |
| 25 | + monitors = qmp1 |
| 26 | + mem_stat_check_list = 'stat-free-memory' |
| 27 | + check_mem_diff = 300 |
| 28 | + guest_compare_threshold = 300 |
| 29 | + guest_mem_ratio = 0.025 |
| 30 | + devcon_dirname = "win7_" |
| 31 | + i386: |
| 32 | + devcon_dirname += "x86" |
| 33 | + qemu_ga_pkg = qemu-ga-i386.msi |
| 34 | + x86_64: |
| 35 | + devcon_dirname += "amd64" |
| 36 | + qemu_ga_pkg = qemu-ga-x86_64.msi |
| 37 | + devcon_path = "WIN_UTILS:\devcon\${devcon_dirname}\devcon.exe" |
| 38 | + del devcon_dirname |
| 39 | + gagent_install_cmd = "start /wait %s /quiet" |
| 40 | + gagent_pkg_info_cmd = 'wmic product where name="Qemu guest agent"' |
| 41 | + gagent_uninstall_cmd = "wmic product where name='Qemu guest agent' call uninstall" |
| 42 | + nic_model_nic1 = rtl8139 |
| 43 | + q35: |
| 44 | + nic_model_nic1 = e1000e |
| 45 | + # install winfsp tool |
| 46 | + i386, i686: |
| 47 | + install_winfsp_path = 'C:\Program Files' |
| 48 | + x86_64: |
| 49 | + install_winfsp_path = 'C:\Program Files (x86)' |
| 50 | + nics += " nic2" |
| 51 | + nic_model_nic2 = virtio |
| 52 | + no_virtio_rng: |
| 53 | + virtio_rngs += " rng0" |
| 54 | + backend_rng0 = rng-builtin |
| 55 | + backend_type = builtin |
| 56 | + images += " stg0 stg1" |
| 57 | + image_name_stg0 = "images/stg0" |
| 58 | + image_name_stg1 = "images/stg1" |
| 59 | + image_size_stg0 = 5G |
| 60 | + image_size_stg1 = 10G |
| 61 | + drive_format_stg0 = virtio |
| 62 | + drive_format_stg1 = scsi-hd |
| 63 | + remove_image_stg0 = yes |
| 64 | + remove_image_stg1 = yes |
| 65 | + force_create_image_stg0 = yes |
| 66 | + force_create_image_stg1 = yes |
| 67 | + serials += " vs" |
| 68 | + serial_type_vs = virtserialport |
| 69 | + balloon = balloon0 |
| 70 | + balloon_dev_devid = balloon0 |
| 71 | + balloon_dev_add_bus = yes |
| 72 | + install_balloon_service = "%s:\Balloon\blnsvr.exe -i" |
| 73 | + uninstall_balloon_service = "%s:\Balloon\blnsvr.exe -u" |
| 74 | + status_balloon_service = "%s:\Balloon\blnsvr.exe status" |
| 75 | + run_balloon_service = "%s:\Balloon\blnsvr.exe -r" |
| 76 | + stop_balloon_service = "%s:\Balloon\blnsvr.exe -s" |
| 77 | + inputs = input1 |
| 78 | + input_dev_bus_type_input1 = virtio |
| 79 | + input_dev_type_input1 = mouse |
| 80 | + vmcoreinfo = yes |
| 81 | + filesystems = fs |
| 82 | + fs_driver = virtio-fs |
| 83 | + fs_source_type = mount |
| 84 | + fs_source_dir = virtio_fs_test/ |
| 85 | + force_create_fs_source = yes |
| 86 | + remove_fs_source = yes |
| 87 | + fs_target = 'myfs' |
| 88 | + fs_driver_props = {"queue-size": 1024} |
| 89 | + mem = 4096 |
| 90 | + mem_devs = mem1 |
| 91 | + backend_mem_mem1 = memory-backend-file |
| 92 | + mem-path_mem1 = /dev/shm |
| 93 | + size_mem1 = 4G |
| 94 | + use_mem_mem1 = no |
| 95 | + share_mem = yes |
| 96 | + guest_numa_nodes = shm0 |
| 97 | + numa_memdev_shm0 = mem-mem1 |
| 98 | + numa_nodeid_shm0 = 0 |
| 99 | + fs_binary_extra_options = " -o cache=auto" |
| 100 | + test_drivers = 'viorng viostor vioscsi viofs balloon' |
| 101 | + driver_test_name_viorng = 'rng' |
| 102 | + driver_test_name_viostor = 'iozone' |
| 103 | + driver_test_params_viostor = {'images': 'stg0'} |
| 104 | + driver_test_name_vioscsi = 'iozone' |
| 105 | + driver_test_params_vioscsi = {'images': 'stg1'} |
| 106 | + driver_test_name_viofs = "viofs_basic_io" |
| 107 | + driver_test_name_balloon = "balloon" |
| 108 | + iozone_cmd_opitons = " -azR -r 64k -n 512M -g 1G -M -I -i 0 -i 1 -b iozone.xls -f %s:\testfile" |
| 109 | + read_rng_cmd = "WIN_UTILS:\\random_%PROCESSOR_ARCHITECTURE%.exe" |
| 110 | + driver_test_names = 'balloon viofs_basic_io' |
| 111 | + exe_file_name = "virtiofs.exe" |
| 112 | + exe_find_cmd = 'dir /b /s VIOWIN_LTR\\EXE_FILE_NAME' |
| 113 | + inf_find_cmd = 'dir /b /s VIOWIN_LTR\\DRIVER_NAME.inf' |
| 114 | + variants: |
| 115 | + - create_iso: |
| 116 | + create_iso = yes |
| 117 | + driver_folder_name = Virtio-Win |
| 118 | + guest_path = "C:\Program Files\${driver_folder_name}\*" |
| 119 | + host_installer_file = "/home/installer" |
| 120 | + host_iso_path = "/home/virtio-win-iso/" |
| 121 | + mkiso_cmd = "mkisofs -o /home/virtio-win-pretest.iso -input-charset iso8859-1 -J -R -V "Virtio-Win" ${host_iso_path}" |
| 122 | + - install_uninstall: |
| 123 | + install_uninstall_test = yes |
| 124 | + - update: |
| 125 | + update_test = yes |
0 commit comments