forked from autotest/tp-libvirt
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlibvirt_pci_passthrough_hotplug.cfg
More file actions
53 lines (53 loc) · 2.18 KB
/
libvirt_pci_passthrough_hotplug.cfg
File metadata and controls
53 lines (53 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
- libvirt_pci_passthrough_hotplug:
type = libvirt_pci_passthrough_hotplug
no s390-virtio
variants:
- PCI:
# Please enter the PCI device label for
# a network device. We will attach this
# device to guest. Then this network device
# will be unavailable on host.
# E.g: 0000:05:00.0
libvirt_pci_net_dev_label = "ENTER.YOUR.PCI.LABEL"
libvirt_pci_net_dev_name = "ENTER.YOUR.DEVICE.NAME"
# model is dependent on architecture
# for power architecture it is pci-root
# for x86 architecture it is pci-bridge
model = "ENTER.YOUR.DEVICE.MODEL"
# index should be other than default VPHB i.e 0
index = "1"
# Please enter the ip what is used by the device
# you are going to attach to guest.
libvirt_pci_net_ip = "ENTER.YOUR.IP"
# Please enter a valid ip from the net device.
# We need to ping it after attaching pci device
# to guest to verify this device works well in guest.
libvirt_pci_server_ip = "ENTER.YOUR.SERVER.IP"
libvirt_pci_net_mask = "ENTER.YOUR.NETMASK"
# enter value for how many times hotplug/unplug will happen
# except stress test remaining all tests it will be 1
stress_val = "1"
# enter timeout value
timeout = "ENTER.YOUR.TIMEOUT"
variants:
- flood_ping:
flood_ping = "yes"
- suspend:
suspend_operation = "yes"
- reboot:
reboot_operation = "yes"
- virsh_dumpxml:
virsh_dumpxml = "yes"
- stress_test:
stress = "yes"
# this stress_val will override the value 1
stress_val = "ENTER.YOUR.STRESS.VALUE"
- virsh_dump:
# dump the guest with memory only option
virsh_dump = "yes"
- multiple_hotplug_hotunplug:
multiple_hotplug_hotunplug = "yes"
number_of_hotplug_unplug = 25
- multiple_hotplug_unplug_with_rand_reboot:
random_reboot = "yes"
number_of_hotplug_unplug = 30