~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/testing/ktest/examples/kvm.conf

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /tools/testing/ktest/examples/kvm.conf (Version linux-6.12-rc7) and /tools/testing/ktest/examples/kvm.conf (Version linux-3.10.108)


  1 #                                                   1 #
  2 # This config is an example usage of ktest.pl       2 # This config is an example usage of ktest.pl with a kvm guest
  3 #                                                   3 #
  4 # The guest is called 'Guest' and this would b      4 # The guest is called 'Guest' and this would be something that
  5 # could be run on the host to test a virtual m      5 # could be run on the host to test a virtual machine target.
  6                                                     6 
  7 MACHINE = Guest                                     7 MACHINE = Guest
  8                                                     8 
  9                                                     9 
 10 # Use virsh to read the serial console of the      10 # Use virsh to read the serial console of the guest
 11 CONSOLE =  virsh console ${MACHINE}                11 CONSOLE =  virsh console ${MACHINE}
 12                                                    12 
 13 # Use SIGKILL to terminate virsh console. We c << 
 14 # by the default signal, SIGINT.               << 
 15 CLOSE_CONSOLE_SIGNAL = KILL                    << 
 16                                                << 
 17 #*************************************#            13 #*************************************#
 18 # This part is the same as test.conf  #            14 # This part is the same as test.conf  #
 19 #*************************************#            15 #*************************************#
 20                                                    16 
 21 # The include files will set up the type of te     17 # The include files will set up the type of test to run. Just set TEST to
 22 # which test you want to run.                      18 # which test you want to run.
 23 #                                                  19 #
 24 # TESTS = patchcheck, randconfig, boot, test,      20 # TESTS = patchcheck, randconfig, boot, test, config-bisect, bisect, min-config
 25 #                                                  21 #
 26 # See the include/*.conf files that define the     22 # See the include/*.conf files that define these tests
 27 #                                                  23 #
 28 TEST := patchcheck                                 24 TEST := patchcheck
 29                                                    25 
 30 # Some tests may have more than one test to ru     26 # Some tests may have more than one test to run. Define MULTI := 1 to run
 31 # the extra tests.                                 27 # the extra tests.
 32 MULTI := 0                                         28 MULTI := 0
 33                                                    29 
 34 # In case you want to differentiate which type     30 # In case you want to differentiate which type of system you are testing
 35 BITS := 64                                         31 BITS := 64
 36                                                    32 
 37 # REBOOT = none, error, fail, empty                33 # REBOOT = none, error, fail, empty
 38 #  See include/defaults.conf                       34 #  See include/defaults.conf
 39 REBOOT := empty                                    35 REBOOT := empty
 40                                                    36 
 41                                                    37 
 42 # The defaults file will set up various settin     38 # The defaults file will set up various settings that can be used by all
 43 # machine configs.                                 39 # machine configs.
 44 INCLUDE include/defaults.conf                      40 INCLUDE include/defaults.conf
 45                                                    41 
 46                                                    42 
 47 #*************************************#            43 #*************************************#
 48 # Now we are different from test.conf #            44 # Now we are different from test.conf #
 49 #*************************************#            45 #*************************************#
 50                                                    46 
 51                                                    47 
 52 # The example here assumes that Guest is runni     48 # The example here assumes that Guest is running a Fedora release
 53 # that uses dracut for its initfs. The POST_IN     49 # that uses dracut for its initfs. The POST_INSTALL will be executed
 54 # after the install of the kernel and modules      50 # after the install of the kernel and modules are complete.
 55 #                                                  51 #
 56 POST_INSTALL = ${SSH} /sbin/dracut -f /boot/in     52 POST_INSTALL = ${SSH} /sbin/dracut -f /boot/initramfs-test.img $KERNEL_VERSION
 57                                                    53 
 58 # Guests sometimes get stuck on reboot. We wai     54 # Guests sometimes get stuck on reboot. We wait 3 seconds after running
 59 # the reboot command and then  do a full power     55 # the reboot command and then  do a full power-cycle of the guest.
 60 # This forces the guest to restart.                56 # This forces the guest to restart.
 61 #                                                  57 #
 62 POWERCYCLE_AFTER_REBOOT = 3                        58 POWERCYCLE_AFTER_REBOOT = 3
 63                                                    59 
 64 # We do the same after the halt command, but t     60 # We do the same after the halt command, but this time we wait 20 seconds.
 65 POWEROFF_AFTER_HALT = 20                           61 POWEROFF_AFTER_HALT = 20
 66                                                    62 
 67                                                    63 
 68 # As the defaults.conf file has a POWER_CYCLE      64 # As the defaults.conf file has a POWER_CYCLE option already defined,
 69 # and options can not be defined in the same s     65 # and options can not be defined in the same section more than once
 70 # (all DEFAULTS sections are considered the sa     66 # (all DEFAULTS sections are considered the same). We use the
 71 # DEFAULTS OVERRIDE to tell ktest.pl to ignore     67 # DEFAULTS OVERRIDE to tell ktest.pl to ignore the previous defined
 72 # options, for the options set in the OVERRIDE     68 # options, for the options set in the OVERRIDE section.
 73 #                                                  69 #
 74 DEFAULTS OVERRIDE                                  70 DEFAULTS OVERRIDE
 75                                                    71 
 76 # Instead of using the default POWER_CYCLE opt     72 # Instead of using the default POWER_CYCLE option defined in
 77 # defaults.conf, we use virsh to cycle it. To      73 # defaults.conf, we use virsh to cycle it. To do so, we destroy
 78 # the guest, wait 5 seconds, and then start it     74 # the guest, wait 5 seconds, and then start it up again.
 79 # Crude, but effective.                            75 # Crude, but effective.
 80 #                                                  76 #
 81 POWER_CYCLE = virsh destroy ${MACHINE}; sleep      77 POWER_CYCLE = virsh destroy ${MACHINE}; sleep 5; virsh start ${MACHINE}
 82                                                    78 
 83                                                    79 
 84 DEFAULTS                                           80 DEFAULTS
 85                                                    81 
 86 # The following files each handle a different      82 # The following files each handle a different test case.
 87 # Having them included allows you to set up mo     83 # Having them included allows you to set up more than one machine and share
 88 # the same tests.                                  84 # the same tests.
 89 INCLUDE include/patchcheck.conf                    85 INCLUDE include/patchcheck.conf
 90 INCLUDE include/tests.conf                         86 INCLUDE include/tests.conf
 91 INCLUDE include/bisect.conf                        87 INCLUDE include/bisect.conf
 92 INCLUDE include/min-config.conf                    88 INCLUDE include/min-config.conf
 93 INCLUDE include/bootconfig.conf                << 
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php