-
Notifications
You must be signed in to change notification settings - Fork 41
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 #176 from santwana/pci_config
Add KVM PCI-Passthrough/SR-IOV test config
- Loading branch information
Showing
1 changed file
with
55 additions
and
0 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,55 @@ | ||
include tests-shared.cfg | ||
username = root | ||
password = 123456 | ||
main_vm = virt-tests-vm1 | ||
vms = virt-tests-vm1 | ||
#Network | ||
nettype = bridge | ||
netdst=virbr0 | ||
# Using Text mode of installation | ||
display = 'nographic' | ||
take_regular_screendumps = no | ||
keep_screendumps_on_error = no | ||
keep_screendumps = no | ||
store_vm_register = no | ||
virt_install_binary = /usr/bin/virt-install | ||
qemu_img_binary = /usr/bin/qemu-img | ||
hvm_or_pv = hvm | ||
machine_type = pseries | ||
only bridge | ||
no xen, lxc, esx, ovmf | ||
#Filterout unwanted disk types | ||
no ide,xenblk,lsi_scsi,ahci,sd | ||
no qed,qcow2v3,raw_dd,vmdk, usb2 | ||
no e1000-82540em,e1000-82545em,e1000-82544gc,xennet,nic_custom | ||
only no_virtio_rng | ||
only smp2 | ||
only no_9p_export | ||
only no_pci_assignable | ||
only (image_backend=filesystem) | ||
only smallpages | ||
smp = 32 | ||
vcpu_cores = 32 | ||
vcpu_threads = 1 | ||
vcpu_sockets = 1 | ||
# 32G | ||
mem = 32768 | ||
# number_vfs = 2 | ||
number_vfs = "Enter the no.of Virtual Function's to be created for each PF" | ||
# Eg: 0000:05:00.0 | ||
pf_filter = "ENTER.YOUR.PCI.LABEL" | ||
libvirt_pci_net_ip = "ENTER.YOUR.IP" | ||
libvirt_pci_server_ip = "ENTER.YOUR.SERVER.IP" | ||
libvirt_pci_net_mask = "ENTER.YOUR.NETMASK" | ||
|
||
variants: | ||
- guest_import: | ||
only unattended_install.import.import.default_install.aio_native | ||
|
||
- device_passthrough: | ||
only libvirt_pci_passthrough | ||
only NIC | ||
only SRIOV | ||
|
||
- guest_remove: | ||
only remove_guest.without_disk |