# Copy this file to unittests.cfg and edit it. # # Define the objects we'll be using vms = unittest_vm vm_type = kvm # Choose the main VM main_vm = unittest_vm # Some preprocessor/postprocessor params start_vm = yes kill_vm = yes kill_vm_gracefully = no # Monitor monitors = humanmonitor1 main_monitor = humanmonitor1 monitor_type = human # Screendump specific stuff take_regular_screendumps = no # Some default VM params qemu_binary = qemu qemu_img_binary = qemu-img mem = 512 display = vnc # Default scheduler params used_cpus = 1 used_mem = 512 # NIC parameters run_tcpdump = no # Misc run_kvm_stat = yes # Tests variants: - build: type = build vms = '' start_vm = no # Load modules built/installed by the build test? load_modules = no # Save the results of this build on test.resultsdir? save_results = no # Preserve the source code directory between tests? preserve_srcdir = yes ###################################################################### # INSTALLERS DEFINITION SECTION # Many different components can be defined. The ones that will # actually be run have to be defined in the 'installers' ###################################################################### # QEMU (KVM) installation from a GIT repo git_repo_qemu_kvm_uri = git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git # KVM unit tests from a GIT repo git_repo_kvm_unit_tests_uri = git://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git #git_repo_kvm_unit_tests_configure_options = --arch=x86_64 ###################################################################### # INSTALLERS SELECTION # Choose here what components you want to install ###################################################################### installers = git_repo_qemu_kvm git_repo_kvm_unit_tests - unittest: type = unittest vms = '' start_vm = no unittest_timeout = 600 testdev = yes extra_params += " -S" # In case you want to execute only a subset of the tests defined on the # unittests.cfg file on qemu-kvm, uncomment and edit test_list #unittest_test_list = idt_test hypercall vmexit realmode # In case you want to excluse just some of the tests, use a blacklist #unittest_test_blacklist = access apic emulator only build unittest