KVM Test: drop support for building/loading external KVM kernel modules
[autotest-zwu.git] / client / tests / kvm / build.cfg.sample
blob0bccd657a833b7662a7560457052e2d2880a4c95
1 # Copy this file to build.cfg and edit it.
3 # This configuration file holds the KVM build test config parameters.
4 # The default is noinstall (won't attempt to build KVM), so if you stick with it
5 # please make sure:
6 # 1) You have setup symbolic links to qemu and qemu-img binaries on the
7 #    KVM test dir.
8 # 2) The appropriate KVM modules are already loaded on your machine.
10 vm_type = kvm
12 variants:
13     - build:
14         type = build
15         # Load modules built/installed by the build test?
16         load_modules = no
17         # Save the results of this build on test.resultsdir?
18         save_results = no
19         variants:
20             - localtar:
21                 install_mode = localtar
22                 ## Install from tarball located on the host's filesystem.
23                 tarball = /tmp/kvm-84.tar.gz
24                 # In some cases, you might want to provide a ROM dir, so ROM
25                 # files can be copied from there to your source based install
26                 # path_to_rom_images = /usr/share/kvm
27             - localsrc:
28                 install_mode = localsrc
29                 ## Install from tarball located on the host's filesystem.
30                 srcdir = /tmp/kvm-84
31                 # In some cases, you might want to provide a ROM dir, so ROM
32                 # files can be copied from there to your source based install
33                 # path_to_rom_images = /usr/share/kvm
34             - git:
35                 install_mode = git
36                 ## Install KVM from git repositories.
37                 ## This now only concerns the userspace component, and it assumes
38                 ## the kernel modules are shipped with the linux kernel.
39                 user_git_repo = git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git
40                 # user_branch = user_branch_name
41                 # user_lbranch = user_lbranch_name
42                 # user_commit = user_commit_name
43                 # user_patches = ['http://foo.com/patch1', 'http://foo.com/patch2']
44                 ## This is how you pass extra params to the userspace configure script
45                 # extra_configure_options = '--enable-spice --disable-werror'
46                 # spice_repo = git://anongit.freedesktop.org/spice/spice
47                 # spice_branch = master
48                 # spice_lbranch = master
49                 # spice_patches = []
50                 # spice_protocol_repo = git://anongit.freedesktop.org/spice/spice-protocol
51                 # spice_protocol_branch = master
52                 # spice_protocol_lbranch = master
53                 # spice_protocol_patches = []
54                 # In some cases, you might want to provide a ROM dir, so ROM
55                 # files can be copied from there to your source based install
56                 # path_to_rom_images = /usr/share/kvm
57             - yum:
58                 install_mode = yum
59                 src_pkg = qemu
60                 ## Name of the rpms we need installed
61                 pkg_list = ['qemu-kvm', 'qemu-kvm-tools', 'qemu-system-x86', 'qemu-common', 'qemu-img']
62                 ## Paths of the qemu relevant executables that should be checked
63                 qemu_bin_paths = ['/usr/bin/qemu-kvm', '/usr/bin/qemu-img']
64                 ## List of RPMs that will be installed
65                 pkg_path_list = ['http://foo.com/rpm1', 'http://foo.com/rpm2']
66             - koji:
67                 install_mode = koji
68                 ## Install KVM from koji (Fedora build server)
69                 ## It is possible to install packages right from Koji if you
70                 ## provide a release tag or a build.
71                 ## Tag (if available)
72                 koji_tag = dist-f11
73                 ## Build (if available, is going to override tag).
74                 ## Build ID can be either an integer or a string as below
75                 koji_build = qemu-0.10-16.fc11
76                 # koji_build = 250544
77                 ## Command to interact with the build server
78                 koji_cmd = /usr/bin/koji
79                 ## The name of the source package that will be built
80                 src_pkg = qemu
81                 ## Name of the rpms we need installed
82                 pkg_list = ['qemu-kvm', 'qemu-kvm-tools', 'qemu-system-x86', 'qemu-common', 'qemu-img']
83                 ## Paths of the qemu relevant executables that should be checked
84                 qemu_bin_paths = ['/usr/bin/qemu-kvm', '/usr/bin/qemu-img']
87 # Choose your install method here. The variant noinstall is not defined by
88 # default, so therefore no attempt to build/install KVM will be made by
89 # default
90 only build.noinstall