win_virtio_driver_update_test.cfg 3.9 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
- win_virtio_driver_update_test:
    type = win_virtio_driver_update_test
    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
    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"
    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"
            sub_test = 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
            sub_test = 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"
            sub_test = 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"
            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
    variants:
        - uninstall_install:
            need_uninstall = yes
        - downgrade_upgrade:
            need_uninstall = no
            cdrom_virtio_downgrade = isos/windows/virtio-win-downgrade.iso