1# Copy this file to unittests.cfg and edit it.
2#
3# Define the objects we'll be using
4vms = vm1
5vm_type = kvm
6
7# Choose the main VM
8main_vm = vm1
9
10# Some preprocessor/postprocessor params
11start_vm = yes
12kill_vm = yes
13kill_vm_gracefully = no
14
15# Monitor
16monitors = humanmonitor1
17main_monitor = humanmonitor1
18monitor_type = human
19
20# Screendump specific stuff
21take_regular_screendumps = no
22
23# Some default VM params
24qemu_binary = qemu
25qemu_img_binary = qemu-img
26mem = 512
27display = vnc
28
29# Default scheduler params
30used_cpus = 1
31used_mem = 512
32
33# NIC parameters
34run_tcpdump = no
35
36# Misc
37run_kvm_stat = yes
38
39# Tests
40variants:
41    - build:
42        type = build
43        vms = ''
44        start_vm = no
45        # Load modules built/installed by the build test?
46        load_modules = no
47        # Save the results of this build on test.resultsdir?
48        save_results = no
49        # Preserve the source code directory between tests?
50        preserve_srcdir = yes
51        variants:
52            - git:
53                mode = git
54                user_git_repo = git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git
55                user_branch = next
56                user_lbranch = next
57                test_git_repo = git://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git
58
59    - unittest:
60        type = unittest
61        vms = ''
62        start_vm = no
63        unittest_timeout = 600
64        testdev = yes
65        extra_params += " -S"
66        # In case you want to execute only a subset of the tests defined on the
67        # unittests.cfg file on qemu-kvm, uncomment and edit test_list
68        #test_list = idt_test hypercall vmexit realmode
69
70only build.git unittest
71