Home | History | Annotate | Download | only in kvm
      1 # Copy this file to build.cfg and edit it.
      2 #
      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.
      9 
     10 vm_type = kvm
     11 
     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         # Preserve the source code directory between tests?
     20         preserve_srcdir = yes
     21         variants:
     22             - localtar:
     23                 install_mode = localtar
     24                 ## Install from tarball located on the host's filesystem.
     25                 tarball = /tmp/kvm-84.tar.gz
     26                 # In some cases, you might want to provide a ROM dir, so ROM
     27                 # files can be copied from there to your source based install
     28                 # path_to_rom_images = /usr/share/kvm
     29             - localsrc:
     30                 install_mode = localsrc
     31                 ## Install from tarball located on the host's filesystem.
     32                 srcdir = /tmp/kvm-84
     33                 # In some cases, you might want to provide a ROM dir, so ROM
     34                 # files can be copied from there to your source based install
     35                 # path_to_rom_images = /usr/share/kvm
     36             - git:
     37                 install_mode = git
     38                 ## Install KVM from git repositories.
     39                 ## This now only concerns the userspace component, and it assumes
     40                 ## the kernel modules are shipped with the linux kernel.
     41                 user_git_repo = git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git
     42                 # user_branch = user_branch_name
     43                 # user_lbranch = user_lbranch_name
     44                 # user_commit = user_commit_name
     45                 # user_patches = ['http://foo.com/patch1', 'http://foo.com/patch2']
     46                 ## This is how you pass extra params to the userspace configure script
     47                 # extra_configure_options = '--enable-spice --disable-werror'
     48                 # spice_repo = git://anongit.freedesktop.org/spice/spice
     49                 # spice_branch = master
     50                 # spice_lbranch = master
     51                 # spice_patches = []
     52                 # spice_protocol_repo = git://anongit.freedesktop.org/spice/spice-protocol
     53                 # spice_protocol_branch = master
     54                 # spice_protocol_lbranch = master
     55                 # spice_protocol_patches = []
     56                 # In some cases, you might want to provide a ROM dir, so ROM
     57                 # files can be copied from there to your source based install
     58                 # path_to_rom_images = /usr/share/kvm
     59             - yum:
     60                 install_mode = yum
     61                 src_pkg = qemu
     62                 ## Name of the rpms we need installed
     63                 pkg_list = ['qemu-kvm', 'qemu-kvm-tools', 'qemu-system-x86', 'qemu-common', 'qemu-img']
     64                 ## Paths of the qemu relevant executables that should be checked
     65                 qemu_bin_paths = ['/usr/bin/qemu-kvm', '/usr/bin/qemu-img']
     66                 ## List of RPMs that will be installed
     67                 pkg_path_list = ['http://foo.com/rpm1', 'http://foo.com/rpm2']
     68             - koji:
     69                 install_mode = koji
     70                 ## Install KVM from koji (Fedora build server)
     71                 ## It is possible to install packages right from Koji if you
     72                 ## provide a release tag or a build.
     73                 ## Tag (if available)
     74                 koji_tag = dist-f11
     75                 ## Build (if available, is going to override tag).
     76                 ## Build ID can be either an integer or a string as below
     77                 koji_build = qemu-0.10-16.fc11
     78                 # koji_build = 250544
     79                 ## Command to interact with the build server
     80                 koji_cmd = /usr/bin/koji
     81                 ## The name of the source package that will be built
     82                 src_pkg = qemu
     83                 ## Name of the rpms we need installed
     84                 pkg_list = ['qemu-kvm', 'qemu-kvm-tools', 'qemu-system-x86', 'qemu-common', 'qemu-img']
     85                 ## Paths of the qemu relevant executables that should be checked
     86                 qemu_bin_paths = ['/usr/bin/qemu-kvm', '/usr/bin/qemu-img']
     87 
     88 
     89 # Choose your install method here. The variant noinstall is not defined by
     90 # default, so therefore no attempt to build/install KVM will be made by
     91 # default
     92 only build.noinstall
     93