| OLD | NEW |
| 1 # Copy this file to build.cfg and edit it. | 1 # Copy this file to build.cfg and edit it. |
| 2 # | 2 # |
| 3 # This configuration file holds the KVM build test config parameters. | 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 | 4 # The default is noinstall (won't attempt to build KVM), so if you stick with it |
| 5 # please make sure: | 5 # please make sure: |
| 6 # 1) You have setup symbolic links to qemu and qemu-img binaries on the | 6 # 1) You have setup symbolic links to qemu and qemu-img binaries on the |
| 7 # KVM test dir. | 7 # KVM test dir. |
| 8 # 2) The appropriate KVM modules are already loaded on your machine. | 8 # 2) The appropriate KVM modules are already loaded on your machine. |
| 9 | 9 |
| 10 variants: | 10 variants: |
| 11 - build: | 11 - build: |
| 12 type = build | 12 type = build |
| 13 # Load modules built/installed by the build test? | 13 # Load modules built/installed by the build test? |
| 14 load_modules = no | 14 load_modules = no |
| 15 # Save the results of this build on test.resultsdir? | 15 # Save the results of this build on test.resultsdir? |
| 16 save_results = no | 16 save_results = no |
| 17 variants: | 17 variants: |
| 18 - release: | 18 - release: |
| 19 install_mode = release | 19 mode = release |
| 20 ## Install from a kvm release. You can optionally specify | 20 ## Install from a kvm release. You can optionally specify |
| 21 ## a release tag. If you omit it, the build test will get | 21 ## a release tag. If you omit it, the build test will get |
| 22 ## the latest release tag available at that moment. | 22 ## the latest release tag available at that moment. |
| 23 # release_tag = 84 | 23 # release_tag = 84 |
| 24 release_dir = http://downloads.sourceforge.net/project/kvm/ | 24 release_dir = http://downloads.sourceforge.net/project/kvm/ |
| 25 release_listing = http://sourceforge.net/projects/kvm/files/ | 25 release_listing = http://sourceforge.net/projects/kvm/files/ |
| 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 - snapshot: | 26 - snapshot: |
| 30 install_mode = snapshot | 27 mode = snapshot |
| 31 ## Install from a kvm snapshot location. You can optionally | 28 ## Install from a kvm snapshot location. You can optionally |
| 32 ## specify a snapshot date. If you omit it, the test will get | 29 ## specify a snapshot date. If you omit it, the test will get |
| 33 ## yesterday's snapshot. | 30 ## yesterday's snapshot. |
| 34 # snapshot_date = 20090712 | 31 # snapshot_date = 20090712 |
| 35 snapshot_dir = http://foo.org/kvm-snapshots/ | 32 snapshot_dir = http://foo.org/kvm-snapshots/ |
| 36 # In some cases, you might want to provide a ROM dir, so ROM | |
| 37 # files can be copied from there to your source based install | |
| 38 # path_to_rom_images = /usr/share/kvm | |
| 39 - localtar: | 33 - localtar: |
| 40 install_mode = localtar | 34 mode = localtar |
| 41 ## Install from tarball located on the host's filesystem. | 35 ## Install from tarball located on the host's filesystem. |
| 42 tarball = /tmp/kvm-84.tar.gz | 36 tarball = /tmp/kvm-84.tar.gz |
| 43 # In some cases, you might want to provide a ROM dir, so ROM | |
| 44 # files can be copied from there to your source based install | |
| 45 # path_to_rom_images = /usr/share/kvm | |
| 46 - localsrc: | 37 - localsrc: |
| 47 install_mode = localsrc | 38 mode = localsrc |
| 48 ## Install from tarball located on the host's filesystem. | 39 ## Install from tarball located on the host's filesystem. |
| 49 srcdir = /tmp/kvm-84 | 40 srcdir = /tmp/kvm-84 |
| 50 # In some cases, you might want to provide a ROM dir, so ROM | |
| 51 # files can be copied from there to your source based install | |
| 52 # path_to_rom_images = /usr/share/kvm | |
| 53 - git: | 41 - git: |
| 54 install_mode = git | 42 mode = git |
| 55 ## Install KVM from git repositories. | 43 ## Install KVM from git repositories. |
| 56 ## If you provide only "git_repo" and "user_git_repo", the | 44 ## If you provide only "git_repo" and "user_git_repo", the |
| 57 ## build test will assume it will perform all build from the | 45 ## build test will assume it will perform all build from the |
| 58 ## userspace dir, building modules trough | 46 ## userspace dir, building modules trough |
| 59 ## make -C kernel LINUX=%s sync. As of today (07-13-2009) | 47 ## make -C kernel LINUX=%s sync. As of today (07-13-2009) |
| 60 ## upstream needs 3 git repos: | 48 ## upstream needs 3 git repos: |
| 61 ## * git_repo (linux sources) | 49 ## * git_repo (linux sources) |
| 62 ## * user_git_repo (qemu sources) | 50 ## * user_git_repo (qemu sources) |
| 63 ## * kmod_repo" to build KVM userspace + kernel modules. | 51 ## * kmod_repo" to build KVM userspace + kernel modules. |
| 64 # git_repo = git://git.kernel.org/pub/scm/linux/kernel/git/avi/k
vm.git | 52 # git_repo = git://git.kernel.org/pub/scm/linux/kernel/git/avi/k
vm.git |
| 65 # kernel_branch = kernel_branch_name | 53 # kernel_branch = kernel_branch_name |
| 66 # kernel_lbranch = kernel_lbranch_name | 54 # kernel_lbranch = kernel_lbranch_name |
| 67 # kernel_commit = kernel_commit_name | 55 # kernel_commit = kernel_commit_name |
| 68 # kernel_patches = ['http://foo.com/patch1', 'http://foo.com/pat
ch2'] | 56 # kernel_patches = ['http://foo.com/patch1', 'http://foo.com/pat
ch2'] |
| 69 user_git_repo = git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.g
it | 57 user_git_repo = git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.g
it |
| 70 # user_branch = user_branch_name | 58 # user_branch = user_branch_name |
| 71 # user_lbranch = user_lbranch_name | 59 # user_lbranch = user_lbranch_name |
| 72 # user_commit = user_commit_name | 60 # user_commit = user_commit_name |
| 73 # user_patches = ['http://foo.com/patch1', 'http://foo.com/patch
2'] | 61 # user_patches = ['http://foo.com/patch1', 'http://foo.com/patch
2'] |
| 74 # kmod_repo = git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git | 62 # kmod_repo = git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git |
| 75 # kmod_branch = kmod_branch_name | 63 # kmod_branch = kmod_branch_name |
| 76 # kmod_lbranch = kmod_lbranch_name | 64 # kmod_lbranch = kmod_lbranch_name |
| 77 # kmod_commit = kmod_commit_name | 65 # kmod_commit = kmod_commit_name |
| 78 # kmod_patches = ['http://foo.com/patch1', 'http://foo.com/patch
2'] | 66 # kmod_patches = ['http://foo.com/patch1', 'http://foo.com/patch
2'] |
| 79 # In some cases, you might want to provide a ROM dir, so ROM | |
| 80 # files can be copied from there to your source based install | |
| 81 # path_to_rom_images = /usr/share/kvm | |
| 82 - yum: | 67 - yum: |
| 83 install_mode = yum | 68 mode = yum |
| 84 src_pkg = qemu | 69 src_pkg = qemu |
| 85 ## Name of the rpms we need installed | 70 ## Name of the rpms we need installed |
| 86 pkg_list = ['qemu-kvm', 'qemu-kvm-tools', 'qemu-system-x86', 'qe
mu-common', 'qemu-img'] | 71 pkg_list = ['qemu-kvm', 'qemu-kvm-tools', 'qemu-system-x86', 'qe
mu-common', 'qemu-img'] |
| 87 ## Paths of the qemu relevant executables that should be checked | 72 ## Paths of the qemu relevant executables that should be checked |
| 88 qemu_bin_paths = ['/usr/bin/qemu-kvm', '/usr/bin/qemu-img'] | 73 qemu_bin_paths = ['/usr/bin/qemu-kvm', '/usr/bin/qemu-img'] |
| 89 ## List of RPMs that will be installed | 74 ## List of RPMs that will be installed |
| 90 pkg_path_list = ['http://foo.com/rpm1', 'http://foo.com/rpm2'] | 75 pkg_path_list = ['http://foo.com/rpm1', 'http://foo.com/rpm2'] |
| 91 - koji: | 76 - koji: |
| 92 install_mode = koji | 77 mode = koji |
| 93 ## Install KVM from koji (Fedora build server) | 78 ## Install KVM from koji (Fedora build server) |
| 94 ## It is possible to install packages right from Koji if you | 79 ## It is possible to install packages right from Koji if you |
| 95 ## provide a release tag or a build. | 80 ## provide a release tag or a build. |
| 96 ## Tag (if available) | 81 ## Tag (if available) |
| 97 koji_tag = dist-f11 | 82 koji_tag = dist-f11 |
| 98 ## Build (if available, is going to override tag). | 83 ## Build (if available, is going to override tag). |
| 99 ## Build ID can be either an integer or a string as below | 84 ## Build ID can be either an integer or a string as below |
| 100 koji_build = qemu-0.10-16.fc11 | 85 koji_build = qemu-0.10-16.fc11 |
| 101 # koji_build = 250544 | 86 # koji_build = 250544 |
| 102 ## Command to interact with the build server | 87 ## Command to interact with the build server |
| 103 koji_cmd = /usr/bin/koji | 88 koji_cmd = /usr/bin/koji |
| 104 ## The name of the source package that will be built | 89 ## The name of the source package that will be built |
| 105 src_pkg = qemu | 90 src_pkg = qemu |
| 106 ## Name of the rpms we need installed | 91 ## Name of the rpms we need installed |
| 107 pkg_list = ['qemu-kvm', 'qemu-kvm-tools', 'qemu-system-x86', 'qe
mu-common', 'qemu-img'] | 92 pkg_list = ['qemu-kvm', 'qemu-kvm-tools', 'qemu-system-x86', 'qe
mu-common', 'qemu-img'] |
| 108 ## Paths of the qemu relevant executables that should be checked | 93 ## Paths of the qemu relevant executables that should be checked |
| 109 qemu_bin_paths = ['/usr/bin/qemu-kvm', '/usr/bin/qemu-img'] | 94 qemu_bin_paths = ['/usr/bin/qemu-kvm', '/usr/bin/qemu-img'] |
| 110 | 95 |
| 111 | 96 |
| 112 # Choose your install method here. The variant noinstall is not defined by | 97 # Choose your install method here. The variant noinstall is not defined by |
| 113 # default, so therefore no attempt to build/install KVM will be made by | 98 # default, so therefore no attempt to build/install KVM will be made by |
| 114 # default | 99 # default |
| 115 only build.noinstall | 100 only build.noinstall |
| OLD | NEW |