• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copy this file to tests.cfg and edit it.
2#
3# This file contains the test set definitions. Define your test sets here.
4
5# Include the base config files.
6include base.cfg
7include subtests.cfg
8include guest-os.cfg
9include cdkeys.cfg
10include virtio-win.cfg
11
12# Here you can override the image name for our custom linux and windows guests
13#
14CustomGuestLinux:
15    # Here you can override the default login credentials for your custom guest
16    username = root
17    password = 123456
18    image_name = custom_image_linux
19    image_size = 10G
20    # If you want to use a block device as the vm disk, uncomment the 2 lines
21    # below, pointing the image name for the device you want
22    #image_name = /dev/mapper/vg_linux_guest
23    #image_raw_device = yes
24
25CustomGuestWindows:
26    image_name = custom_image_windows
27    image_size = 10G
28    # If you want to use a block device as the vm disk, uncomment the 2 lines
29    # below, pointing the image name for the device you want
30    #image_name = /dev/mapper/vg_windows_guest
31    #image_raw_device = yes
32
33# Modify/comment the following lines if you wish to modify the paths of the
34# image files, ISO files or qemu binaries.
35#
36# As for the defaults:
37# * qemu and qemu-img are expected to be found under /usr/bin/qemu-kvm and
38#   /usr/bin/qemu-img respectively.
39# * All image files are expected under /tmp/kvm_autotest_root/images/
40# * All install iso files are expected under /tmp/kvm_autotest_root/isos/
41# * The parameters cdrom_unattended, floppy, kernel and initrd are generated
42#   by KVM autotest, so remember to put them under a writable location
43#   (for example, the cdrom share can be read only)
44image_name(_.*)? ?<= /tmp/kvm_autotest_root/images/
45cdrom(_.*)? ?<= /tmp/kvm_autotest_root/
46floppy ?<= /tmp/kvm_autotest_root/
47Linux..unattended_install:
48    kernel ?<= /tmp/kvm_autotest_root/
49    initrd ?<= /tmp/kvm_autotest_root/
50
51# Here are the test sets variants. The variant 'qemu_kvm_windows_quick' is
52# fully commented, the following ones have comments only on noteworthy points
53variants:
54    # Runs all variants defined. HUGE test set.
55    - @full:
56
57    # Runs qemu-kvm, Windows Vista 64 bit guest OS, install, boot, shutdown
58    - @qemu_kvm_windows_quick:
59        # We want qemu-kvm for this run
60        qemu_binary = /usr/bin/qemu-kvm
61        qemu_img_binary = /usr/bin/qemu-img
62        # Only qcow2 file format
63        only qcow2
64        # Only rtl8139 for nw card (default on qemu-kvm)
65        only rtl8139
66        # Only ide hard drives
67        only ide
68        # qemu-kvm will start only with -smp 2 (2 processors)
69        only smp2
70        # No PCI assignable devices
71        only no_pci_assignable
72        # No large memory pages
73        only smallpages
74        # Operating system choice
75        only Win7.64
76        # Subtest choice. You can modify that line to add more subtests
77        only unattended_install.cdrom, boot, shutdown
78
79    # Runs qemu, f15 64 bit guest OS, install, boot, shutdown
80    - @qemu_f15_quick:
81        # We want qemu for this run
82        qemu_binary = /usr/bin/qemu
83        qemu_img_binary = /usr/bin/qemu-img
84        only qcow2
85        # The default nw card for qemu is e1000
86        only e1000
87        only ide
88        # qemu using kvm doesn't support smp yet
89        only up
90        only no_pci_assignable
91        only smallpages
92        only Fedora.15.64
93        only unattended_install.cdrom, boot, shutdown
94        # qemu needs -enable-kvm on the cmdline
95        extra_params += ' -enable-kvm'
96
97    # Runs qemu-kvm, f15 64 bit guest OS, install, boot, shutdown
98    - @qemu_kvm_f15_quick:
99        # We want qemu-kvm for this run
100        qemu_binary = /usr/bin/qemu-kvm
101        qemu_img_binary = /usr/bin/qemu-img
102        only qcow2
103        only rtl8139
104        only ide
105        only smp2
106        only no_pci_assignable
107        only smallpages
108        only Fedora.15.64
109        only unattended_install.cdrom, boot, shutdown
110
111    # Runs your own guest image (qcow2, can be adjusted), all migration tests
112    # (on a core2 duo laptop with HD and 4GB RAM, F15 host took 3 hours to run)
113    # Be warned, disk stress + migration can corrupt your image, so make sure
114    # you have proper backups
115    - @qemu_kvm_custom_migrate:
116        # We want qemu-kvm for this run
117        qemu_binary = /usr/bin/qemu-kvm
118        qemu_img_binary = /usr/bin/qemu-img
119        only qcow2
120        only rtl8139
121        only ide
122        only smp2
123        only no_pci_assignable
124        only smallpages
125        only CustomGuestLinux
126        only migrate
127
128# You may provide information about the DTM server for WHQL tests here:
129#whql:
130#    server_address = 10.20.30.40
131#    server_shell_port = 10022
132#    server_file_transfer_port = 10023
133# Note that the DTM server must run rss.exe (available under deps/),
134# preferably with administrator privileges.
135
136# Uncomment the following lines to enable abort-on-error mode:
137#abort_on_error = yes
138#kill_vm.* ?= no
139#kill_unresponsive_vms.* ?= no
140
141# Choose your test list from the testsets defined
142only qemu_kvm_f15_quick
143