-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3270 from smitterl/virt_tools
backends: add new test type virttools
- Loading branch information
Showing
6 changed files
with
79 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Configuration files for some special variables in specific uri. | ||
variants: | ||
- qemu: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copy this file to tests-shared.cfg and edit it. | ||
# | ||
# This file contains the base test set definitions, shared among single host | ||
# and multi host jobs. | ||
|
||
# Virtualization type (qemu or libvirt) | ||
vm_type = libvirt | ||
# The hypervisor uri (default, qemu://hostname/system, etc.) | ||
# where default or unset means derive from installed system | ||
connect_uri = default | ||
|
||
# Include the base config files. | ||
include base.cfg | ||
include subtests.cfg | ||
include host.cfg | ||
include machines.cfg | ||
include guest-os.cfg | ||
include guest-hw.cfg | ||
include cdkeys.cfg | ||
include virtio-win.cfg | ||
# Include special variable for specific driver. | ||
include drivers.cfg | ||
|
||
# Modify/comment the following lines if you wish to modify the paths of the | ||
# image files, ISO files or qemu binaries. | ||
# | ||
# As for the defaults: | ||
# * qemu and qemu-img are expected to be found under /usr/bin/qemu-kvm and | ||
# /usr/bin/qemu-img respectively. | ||
|
||
# Uncomment the following lines to enable abort-on-error mode: | ||
#abort_on_error = yes | ||
#kill_vm.* ?= no | ||
#kill_unresponsive_vms.* ?= no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# File reserved for avocado-vt use, don't modify. | ||
include tests-shared.cfg | ||
|
||
variants: | ||
- @virttools_quick: | ||
start_vm = no | ||
virt_install_binary = /usr/bin/virt-install | ||
qemu_img_binary = /usr/bin/qemu-img | ||
hvm_or_pv = hvm | ||
use_os_variant = yes | ||
use_os_type = yes | ||
only qcow2 | ||
only virtio_net | ||
only virtio_blk | ||
only smp2 | ||
only no_9p_export | ||
only no_virtio_rng | ||
only no_pci_assignable | ||
only (image_backend=filesystem) | ||
only smallpages | ||
only default_bios | ||
only bridge | ||
|
||
|
||
|
||
only virttools_quick |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,5 @@ subdir: libguestfs/ | |
subdir: lvsb/ | ||
[v2v] | ||
subdir: v2v/ | ||
[virttools] | ||
subdir: virttools/ |